public class

XmlSignatureType

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

Class Overview

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>
 

Summary

Fields
protected String id
protected XmlKeyInfoType keyInfo
protected List<XmlObjectType> object
protected XmlSignatureValueType signatureValue
protected XmlSignedInfoType signedInfo
Public Constructors
XmlSignatureType()
Public Methods
String getId()
Gets the value of the id property.
XmlKeyInfoType getKeyInfo()
Gets the value of the keyInfo property.
List<XmlObjectType> getObject()
Gets the value of the object property.
XmlSignatureValueType getSignatureValue()
Gets the value of the signatureValue property.
XmlSignedInfoType getSignedInfo()
Gets the value of the signedInfo property.
void setId(String value)
Sets the value of the id property.
void setKeyInfo(XmlKeyInfoType value)
Sets the value of the keyInfo property.
void setSignatureValue(XmlSignatureValueType value)
Sets the value of the signatureValue property.
void setSignedInfo(XmlSignedInfoType value)
Sets the value of the signedInfo property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String id

protected XmlKeyInfoType keyInfo

protected List<XmlObjectType> object

protected XmlSignatureValueType signatureValue

protected XmlSignedInfoType signedInfo

Public Constructors

public XmlSignatureType ()

Public Methods

public String getId ()

Gets the value of the id property.

Returns
  • possible object is String

public XmlKeyInfoType getKeyInfo ()

Gets the value of the keyInfo property.

Returns

public List<XmlObjectType> getObject ()

Gets the value of the object 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 object property.

For example, to add a new item, do as follows:

    getObject().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlObjectType

public XmlSignatureValueType getSignatureValue ()

Gets the value of the signatureValue property.

Returns

public XmlSignedInfoType getSignedInfo ()

Gets the value of the signedInfo property.

Returns

public void setId (String value)

Sets the value of the id property.

Parameters
value allowed object is String

public void setKeyInfo (XmlKeyInfoType value)

Sets the value of the keyInfo property.

Parameters
value allowed object is XmlKeyInfoType

public void setSignatureValue (XmlSignatureValueType value)

Sets the value of the signatureValue property.

Parameters
value allowed object is XmlSignatureValueType

public void setSignedInfo (XmlSignedInfoType value)

Sets the value of the signedInfo property.

Parameters
value allowed object is XmlSignedInfoType