xades4j.xml.bind.xmldsig
Class XmlSignedInfoType

java.lang.Object
  extended by xades4j.xml.bind.xmldsig.XmlSignedInfoType

public class XmlSignedInfoType
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>
 


Field Summary
protected  XmlCanonicalizationMethodType canonicalizationMethod
           
protected  String id
           
protected  List<XmlReferenceType> reference
           
protected  XmlSignatureMethodType signatureMethod
           
 
Constructor Summary
XmlSignedInfoType()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canonicalizationMethod

protected XmlCanonicalizationMethodType canonicalizationMethod

signatureMethod

protected XmlSignatureMethodType signatureMethod

reference

protected List<XmlReferenceType> reference

id

protected String id
Constructor Detail

XmlSignedInfoType

public XmlSignedInfoType()
Method Detail

getCanonicalizationMethod

public XmlCanonicalizationMethodType getCanonicalizationMethod()
Gets the value of the canonicalizationMethod property.

Returns:
possible object is XmlCanonicalizationMethodType

setCanonicalizationMethod

public void setCanonicalizationMethod(XmlCanonicalizationMethodType value)
Sets the value of the canonicalizationMethod property.

Parameters:
value - allowed object is XmlCanonicalizationMethodType

getSignatureMethod

public XmlSignatureMethodType getSignatureMethod()
Gets the value of the signatureMethod property.

Returns:
possible object is XmlSignatureMethodType

setSignatureMethod

public void setSignatureMethod(XmlSignatureMethodType value)
Sets the value of the signatureMethod property.

Parameters:
value - allowed object is XmlSignatureMethodType

getReference

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.