Package com.sun.xml.security.core.dsig
Class SignatureType
- java.lang.Object
-
- com.sun.xml.security.core.dsig.SignatureType
-
public class SignatureType extends Object
Java class for SignatureType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringidprotected com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.KeyInfokeyInfoprotected List<ObjectType>objectprotected com.sun.xml.ws.security.opt.crypto.dsig.SignatureValuesignatureValueprotected com.sun.xml.ws.security.opt.crypto.dsig.SignedInfosignedInfo
-
Constructor Summary
Constructors Constructor Description SignatureType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.List<ObjectType>getObject()Gets the value of the object property.voidsetId(String value)Sets the value of the id property.voidsetKeyInfo(com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.KeyInfo value)Sets the value of the keyInfo property.voidsetSignatureValue(com.sun.xml.ws.security.opt.crypto.dsig.SignatureValue value)Sets the value of the signatureValue property.voidsetSignedInfo(com.sun.xml.ws.security.opt.crypto.dsig.SignedInfo value)Sets the value of the signedInfo property.
-
-
-
Field Detail
-
signedInfo
protected com.sun.xml.ws.security.opt.crypto.dsig.SignedInfo signedInfo
-
signatureValue
protected com.sun.xml.ws.security.opt.crypto.dsig.SignatureValue signatureValue
-
keyInfo
protected com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.KeyInfo keyInfo
-
object
protected List<ObjectType> object
-
id
protected String id
-
-
Method Detail
-
setSignedInfo
public void setSignedInfo(com.sun.xml.ws.security.opt.crypto.dsig.SignedInfo value)
Sets the value of the signedInfo property.- Parameters:
value- allowed object isSignedInfoType
-
setSignatureValue
public void setSignatureValue(com.sun.xml.ws.security.opt.crypto.dsig.SignatureValue value)
Sets the value of the signatureValue property.- Parameters:
value- allowed object isSignatureValueType
-
setKeyInfo
public void setKeyInfo(com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.KeyInfo value)
Sets the value of the keyInfo property.- Parameters:
value- allowed object isKeyInfoType
-
getObject
public List<ObjectType> getObject()
Gets the value of the object property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the object property.For example, to add a new item, do as follows:
getObject().add(newItem);Objects of the following type(s) are allowed in the list
ObjectType
-
-