public class SignedInfo extends Object
Java class for SignedInfoType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignedInfoType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected CanonicalizationMethod |
canonicalizationMethod |
protected String |
id |
protected List<Reference> |
references |
protected SignatureMethod |
signatureMethod |
Constructor and Description |
---|
SignedInfo() |
Modifier and Type | Method and Description |
---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
Gets the value of the canonicalizationMethod property.
|
String |
getId()
Gets the value of the id property.
|
List<Reference> |
getReferences()
Gets the value of the references property.
|
SignatureMethod |
getSignatureMethod()
Gets the value of the signatureMethod property.
|
void |
setCanonicalizationMethod(CanonicalizationMethod value)
Sets the value of the canonicalizationMethod property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setSignatureMethod(SignatureMethod value)
Sets the value of the signatureMethod property.
|
protected CanonicalizationMethod canonicalizationMethod
protected SignatureMethod signatureMethod
protected String id
public CanonicalizationMethod getCanonicalizationMethod()
CanonicalizationMethod
public void setCanonicalizationMethod(CanonicalizationMethod value)
value
- allowed object is
CanonicalizationMethod
public SignatureMethod getSignatureMethod()
SignatureMethod
public void setSignatureMethod(SignatureMethod value)
value
- allowed object is
SignatureMethod
public List<Reference> getReferences()
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 references property.
For example, to add a new item, do as follows:
getReferences().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.