public class

XmlSignedInfoType

extends Object
java.lang.Object
   ↳ xades4j.xml.bind.xmldsig.XmlSignedInfoType

Class Overview

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>
 

Summary

Fields
protected XmlCanonicalizationMethodType canonicalizationMethod
protected String id
protected List<XmlReferenceType> reference
protected XmlSignatureMethodType signatureMethod
Public Constructors
XmlSignedInfoType()
Public Methods
XmlCanonicalizationMethodType getCanonicalizationMethod()
Gets the value of the canonicalizationMethod property.
String getId()
Gets the value of the id property.
List<XmlReferenceType> getReference()
Gets the value of the reference property.
XmlSignatureMethodType getSignatureMethod()
Gets the value of the signatureMethod property.
void setCanonicalizationMethod(XmlCanonicalizationMethodType value)
Sets the value of the canonicalizationMethod property.
void setId(String value)
Sets the value of the id property.
void setSignatureMethod(XmlSignatureMethodType value)
Sets the value of the signatureMethod property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected XmlCanonicalizationMethodType canonicalizationMethod

protected String id

protected List<XmlReferenceType> reference

protected XmlSignatureMethodType signatureMethod

Public Constructors

public XmlSignedInfoType ()

Public Methods

public XmlCanonicalizationMethodType getCanonicalizationMethod ()

Gets the value of the canonicalizationMethod property.

Returns

public String getId ()

Gets the value of the id property.

Returns
  • possible object is String

public List<XmlReferenceType> 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 set method 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 XmlReferenceType

public XmlSignatureMethodType getSignatureMethod ()

Gets the value of the signatureMethod property.

Returns

public void setCanonicalizationMethod (XmlCanonicalizationMethodType value)

Sets the value of the canonicalizationMethod property.

Parameters
value allowed object is XmlCanonicalizationMethodType

public void setId (String value)

Sets the value of the id property.

Parameters
value allowed object is String

public void setSignatureMethod (XmlSignatureMethodType value)

Sets the value of the signatureMethod property.

Parameters
value allowed object is XmlSignatureMethodType