com.sun.xml.security.core.dsig
Class SignatureType

java.lang.Object
  extended by com.sun.xml.security.core.dsig.SignatureType
Direct Known Subclasses:
Signature

public class SignatureType
extends Object

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>
 


Field Summary
protected  String id
           
protected  KeyInfo keyInfo
           
protected  List<ObjectType> object
           
protected  SignatureValue signatureValue
           
protected  SignedInfo signedInfo
           
 
Constructor Summary
SignatureType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 List<ObjectType> getObject()
          Gets the value of the object property.
 void setId(String value)
          Sets the value of the id property.
 void setKeyInfo(KeyInfo value)
          Sets the value of the keyInfo property.
 void setSignatureValue(SignatureValue value)
          Sets the value of the signatureValue property.
 void setSignedInfo(SignedInfo value)
          Sets the value of the signedInfo property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signedInfo

protected SignedInfo signedInfo

signatureValue

protected SignatureValue signatureValue

keyInfo

protected KeyInfo keyInfo

object

protected List<ObjectType> object

id

protected String id
Constructor Detail

SignatureType

public SignatureType()
Method Detail

setSignedInfo

public void setSignedInfo(SignedInfo value)
Sets the value of the signedInfo property.

Parameters:
value - allowed object is SignedInfoType

setSignatureValue

public void setSignatureValue(SignatureValue value)
Sets the value of the signatureValue property.

Parameters:
value - allowed object is SignatureValueType

setKeyInfo

public void setKeyInfo(KeyInfo value)
Sets the value of the keyInfo property.

Parameters:
value - allowed object is KeyInfoType

getObject

public List<ObjectType> 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 ObjectType


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 © 2005-2015 Oracle Corporation. All Rights Reserved.