Package com.sun.xml.security.core.dsig
Class SignatureType
java.lang.Object
com.sun.xml.security.core.dsig.SignatureType
- Direct Known Subclasses:
Signature
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
FieldsModifier and TypeFieldDescriptionprotected String
protected KeyInfo
protected List<ObjectType>
protected SignatureValue
protected SignedInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.Gets the value of the object property.void
Sets the value of the id property.void
setKeyInfo
(KeyInfo value) Sets the value of the keyInfo property.void
setSignatureValue
(SignatureValue value) Sets the value of the signatureValue property.void
setSignedInfo
(SignedInfo value) Sets the value of the signedInfo property.
-
Field Details
-
signedInfo
-
signatureValue
-
keyInfo
-
object
-
id
-
-
Constructor Details
-
SignatureType
public SignatureType()
-
-
Method Details
-
setSignedInfo
Sets the value of the signedInfo property.- Parameters:
value
- allowed object isSignedInfoType
-
setSignatureValue
Sets the value of the signatureValue property.- Parameters:
value
- allowed object isSignatureValueType
-
setKeyInfo
Sets the value of the keyInfo property.- Parameters:
value
- allowed object isKeyInfoType
-
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
set
method 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
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-