public class Signature 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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected KeyInfo |
keyInfo |
protected List<Object> |
objects |
protected SignatureValue |
signatureValue |
protected SignedInfo |
signedInfo |
| Constructor and Description |
|---|
Signature() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the value of the id property.
|
KeyInfo |
getKeyInfo()
Gets the value of the keyInfo property.
|
List<Object> |
getObjects()
Gets the value of the objects property.
|
SignatureValue |
getSignatureValue()
Gets the value of the signatureValue property.
|
SignedInfo |
getSignedInfo()
Gets the value of the signedInfo property.
|
void |
setId(String value)
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.
|
protected SignedInfo signedInfo
protected SignatureValue signatureValue
protected KeyInfo keyInfo
protected String id
public SignedInfo getSignedInfo()
SignedInfopublic void setSignedInfo(SignedInfo value)
value - allowed object is
SignedInfopublic SignatureValue getSignatureValue()
SignatureValuepublic void setSignatureValue(SignatureValue value)
value - allowed object is
SignatureValuepublic KeyInfo getKeyInfo()
KeyInfopublic void setKeyInfo(KeyInfo value)
value - allowed object is
KeyInfopublic List<Object> getObjects()
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 objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.