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

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

public class SignedInfoType
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  CanonicalizationMethod canonicalizationMethod
           
protected  String id
           
protected  List<Reference> reference
           
protected  SignatureMethod signatureMethod
           
 
Constructor Summary
SignedInfoType()
           
 
Method Summary
 CanonicalizationMethod getCanonicalizationMethod()
          Gets the value of the canonicalizationMethod property.
 String getId()
          Gets the value of the id property.
 List<Reference> getReference()
          Gets the value of the reference property.
 void setCanonicalizationMethod(CanonicalizationMethod value)
          Sets the value of the canonicalizationMethod property.
 void setId(String value)
          Sets the value of the id property.
 void setSignatureMethod(SignatureMethod 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 CanonicalizationMethod canonicalizationMethod

signatureMethod

protected SignatureMethod signatureMethod

reference

protected List<Reference> reference

id

protected String id
Constructor Detail

SignedInfoType

public SignedInfoType()
Method Detail

getCanonicalizationMethod

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

Returns:
possible object is CanonicalizationMethodType

setCanonicalizationMethod

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

Parameters:
value - allowed object is CanonicalizationMethodType

setSignatureMethod

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

Parameters:
value - allowed object is SignatureMethodType

getReference

public List<Reference> 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 ReferenceType


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.