Package eu.europa.esig.xmldsig.jaxb
Class SignedInfoType
java.lang.Object
eu.europa.esig.xmldsig.jaxb.SignedInfoType
- All Implemented Interfaces:
Serializable
public class SignedInfoType extends Object implements Serializable
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>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected CanonicalizationMethodTypecanonicalizationMethodprotected Stringidprotected List<ReferenceType>referenceprotected SignatureMethodTypesignatureMethod -
Constructor Summary
Constructors Constructor Description SignedInfoType() -
Method Summary
Modifier and Type Method Description CanonicalizationMethodTypegetCanonicalizationMethod()Gets the value of the canonicalizationMethod property.StringgetId()Gets the value of the id property.List<ReferenceType>getReference()Gets the value of the reference property.SignatureMethodTypegetSignatureMethod()Gets the value of the signatureMethod property.voidsetCanonicalizationMethod(CanonicalizationMethodType value)Sets the value of the canonicalizationMethod property.voidsetId(String value)Sets the value of the id property.voidsetSignatureMethod(SignatureMethodType value)Sets the value of the signatureMethod property.
-
Field Details
-
Constructor Details
-
SignedInfoType
public SignedInfoType()
-
-
Method Details
-
getCanonicalizationMethod
Gets the value of the canonicalizationMethod property.- Returns:
- possible object is
CanonicalizationMethodType
-
setCanonicalizationMethod
Sets the value of the canonicalizationMethod property.- Parameters:
value- allowed object isCanonicalizationMethodType
-
getSignatureMethod
Gets the value of the signatureMethod property.- Returns:
- possible object is
SignatureMethodType
-
setSignatureMethod
Sets the value of the signatureMethod property.- Parameters:
value- allowed object isSignatureMethodType
-
getReference
Gets the value of the reference 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 reference property.For example, to add a new item, do as follows:
getReference().add(newItem);Objects of the following type(s) are allowed in the list
ReferenceType -
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
-