public class Signature extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected KeyInfo |
keyInfo |
protected List<Object> |
objects |
protected SignatureValue |
signatureValue |
protected SignedInfo |
signedInfo |
| Constructor and Description |
|---|
Signature()
Default no-arg constructor
|
Signature(SignedInfo signedInfo,
SignatureValue signatureValue,
KeyInfo keyInfo,
List<Object> objects,
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) |
String |
getId()
Gets the value of the id property.
|
KeyInfo |
getKeyInfo()
Gets the value of the keyInfo property.
|
List<Object> |
getObjects()
Gets the value of the objects property.
|
SignatureValue |
getSignatureValue()
Gets the value of the signatureValue property.
|
SignedInfo |
getSignedInfo()
Gets the value of the signedInfo property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setKeyInfo(KeyInfo value)
Sets the value of the keyInfo property.
|
void |
setObjects(List<Object> value) |
void |
setSignatureValue(SignatureValue value)
Sets the value of the signatureValue property.
|
void |
setSignedInfo(SignedInfo value)
Sets the value of the signedInfo property.
|
String |
toString() |
Signature |
withId(String value) |
Signature |
withKeyInfo(KeyInfo value) |
Signature |
withObjects(Collection<Object> values) |
Signature |
withObjects(List<Object> value) |
Signature |
withObjects(Object... values) |
Signature |
withSignatureValue(SignatureValue value) |
Signature |
withSignedInfo(SignedInfo value) |
protected SignedInfo signedInfo
protected SignatureValue signatureValue
protected KeyInfo keyInfo
protected String id
public Signature()
public Signature(SignedInfo signedInfo, SignatureValue signatureValue, KeyInfo keyInfo, List<Object> objects, String id)
public SignedInfo getSignedInfo()
SignedInfopublic void setSignedInfo(SignedInfo value)
value - allowed object is
SignedInfopublic SignatureValue getSignatureValue()
SignatureValuepublic void setSignatureValue(SignatureValue value)
value - allowed object is
SignatureValuepublic KeyInfo getKeyInfo()
KeyInfopublic void setKeyInfo(KeyInfo value)
value - allowed object is
KeyInfopublic List<Object> getObjects()
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 objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
Object
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 Signature withSignedInfo(SignedInfo value)
public Signature withSignatureValue(SignatureValue value)
public Signature withObjects(Collection<Object> values)
Copyright © 2017 Digipost. All Rights Reserved.