public class SignedInfo
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
| Modifier and Type | Field and Description |
|---|---|
protected CanonicalizationMethod |
canonicalizationMethod |
protected java.lang.String |
id |
protected java.util.List<Reference> |
references |
protected SignatureMethod |
signatureMethod |
| Constructor and Description |
|---|
SignedInfo()
Default no-arg constructor
|
SignedInfo(CanonicalizationMethod canonicalizationMethod,
SignatureMethod signatureMethod,
java.util.List<Reference> references,
java.lang.String id)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
CanonicalizationMethod |
getCanonicalizationMethod()
Gets the value of the canonicalizationMethod property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<Reference> |
getReferences()
Gets the value of the references property.
|
SignatureMethod |
getSignatureMethod()
Gets the value of the signatureMethod property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCanonicalizationMethod(CanonicalizationMethod value)
Sets the value of the canonicalizationMethod property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setSignatureMethod(SignatureMethod value)
Sets the value of the signatureMethod property.
|
SignedInfo |
withCanonicalizationMethod(CanonicalizationMethod value) |
SignedInfo |
withId(java.lang.String value) |
SignedInfo |
withReferences(java.util.Collection<Reference> values) |
SignedInfo |
withReferences(Reference... values) |
SignedInfo |
withSignatureMethod(SignatureMethod value) |
protected CanonicalizationMethod canonicalizationMethod
protected SignatureMethod signatureMethod
protected java.util.List<Reference> references
protected java.lang.String id
public SignedInfo()
public SignedInfo(CanonicalizationMethod canonicalizationMethod, SignatureMethod signatureMethod, java.util.List<Reference> references, java.lang.String id)
public CanonicalizationMethod getCanonicalizationMethod()
CanonicalizationMethodpublic void setCanonicalizationMethod(CanonicalizationMethod value)
value - allowed object is
CanonicalizationMethodpublic SignatureMethod getSignatureMethod()
SignatureMethodpublic void setSignatureMethod(SignatureMethod value)
value - allowed object is
SignatureMethodpublic java.util.List<Reference> getReferences()
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 references property.
For example, to add a new item, do as follows:
getReferences().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic SignedInfo withCanonicalizationMethod(CanonicalizationMethod value)
public SignedInfo withSignatureMethod(SignatureMethod value)
public SignedInfo withReferences(Reference... values)
public SignedInfo withReferences(java.util.Collection<Reference> values)
public SignedInfo withId(java.lang.String value)