- java.lang.Object
-
- com.sun.xml.security.core.dsig.SignatureType
-
- Direct Known Subclasses:
Signature
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 KeyInfokeyInfoprotected List<ObjectType>objectprotected SignatureValuesignatureValueprotected 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(KeyInfo value)Sets the value of the keyInfo property.voidsetSignatureValue(SignatureValue value)Sets the value of the signatureValue property.voidsetSignedInfo(SignedInfo value)Sets the value of the signedInfo property.
-
-
-
Field Detail
-
signedInfo
protected SignedInfo signedInfo
-
signatureValue
protected SignatureValue signatureValue
-
keyInfo
protected KeyInfo keyInfo
-
object
protected List<ObjectType> object
-
id
protected String id
-
-
Method Detail
-
setSignedInfo
public void setSignedInfo(SignedInfo value)
Sets the value of the signedInfo property.- Parameters:
value- allowed object isSignedInfoType
-
setSignatureValue
public void setSignatureValue(SignatureValue value)
Sets the value of the signatureValue property.- Parameters:
value- allowed object isSignatureValueType
-
setKeyInfo
public void setKeyInfo(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
-
-