- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected CanonicalizationMethodcanonicalizationMethodprotected Stringidprotected List<Reference>referenceprotected SignatureMethodsignatureMethod
-
Constructor Summary
Constructors Constructor Description SignedInfoType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CanonicalizationMethodgetCanonicalizationMethod()Gets the value of the canonicalizationMethod property.StringgetId()Gets the value of the id property.List<Reference>getReference()Gets the value of the reference property.voidsetCanonicalizationMethod(CanonicalizationMethod value)Sets the value of the canonicalizationMethod property.voidsetId(String value)Sets the value of the id property.voidsetSignatureMethod(SignatureMethod value)Sets the value of the signatureMethod property.
-
-
-
Field Detail
-
canonicalizationMethod
protected CanonicalizationMethod canonicalizationMethod
-
signatureMethod
protected SignatureMethod signatureMethod
-
id
protected String id
-
-
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 isCanonicalizationMethodType
-
setSignatureMethod
public void setSignatureMethod(SignatureMethod value)
Sets the value of the signatureMethod property.- Parameters:
value- allowed object isSignatureMethodType
-
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
setmethod 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
-
-