public class SignedInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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 String |
id |
protected List<Reference> |
references |
protected SignatureMethod |
signatureMethod |
| Constructor and Description |
|---|
SignedInfo()
Default no-arg constructor
|
SignedInfo(CanonicalizationMethod canonicalizationMethod,
SignatureMethod signatureMethod,
List<Reference> references,
String id)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
CanonicalizationMethod |
getCanonicalizationMethod()
Gets the value of the canonicalizationMethod property.
|
String |
getId()
Gets the value of the id property.
|
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(String value)
Sets the value of the id property.
|
void |
setReferences(List<Reference> value) |
void |
setSignatureMethod(SignatureMethod value)
Sets the value of the signatureMethod property.
|
String |
toString() |
SignedInfo |
withCanonicalizationMethod(CanonicalizationMethod value) |
SignedInfo |
withId(String value) |
SignedInfo |
withReferences(Collection<Reference> values) |
SignedInfo |
withReferences(List<Reference> value) |
SignedInfo |
withReferences(Reference... values) |
SignedInfo |
withSignatureMethod(SignatureMethod value) |
protected CanonicalizationMethod canonicalizationMethod
protected SignatureMethod signatureMethod
protected String id
public SignedInfo()
public SignedInfo(CanonicalizationMethod canonicalizationMethod, SignatureMethod signatureMethod, List<Reference> references, 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 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 void setId(String value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic 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 SignedInfo withCanonicalizationMethod(CanonicalizationMethod value)
public SignedInfo withSignatureMethod(SignatureMethod value)
public SignedInfo withReferences(Reference... values)
public SignedInfo withReferences(Collection<Reference> values)
public SignedInfo withId(String value)
public SignedInfo withReferences(List<Reference> value)
Copyright © 2017 Digipost. All Rights Reserved.