|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3.xmldsig.Signature
public class Signature
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>
| Field Summary | |
|---|---|
protected String |
id
|
protected KeyInfo |
keyInfo
|
protected List<Object> |
objects
|
protected SignatureValue |
signatureValue
|
protected SignedInfo |
signedInfo
|
| Constructor Summary | |
|---|---|
Signature()
Default no-arg constructor |
|
Signature(SignedInfo signedInfo,
SignatureValue signatureValue,
KeyInfo keyInfo,
List<Object> objects,
String id)
Fully-initialising value constructor |
|
| Method Summary | |
|---|---|
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)
|
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. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SignedInfo signedInfo
protected SignatureValue signatureValue
protected KeyInfo keyInfo
protected List<Object> objects
protected String id
| Constructor Detail |
|---|
public Signature()
public Signature(SignedInfo signedInfo,
SignatureValue signatureValue,
KeyInfo keyInfo,
List<Object> objects,
String id)
| Method Detail |
|---|
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 String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic void setObjects(List<Object> value)
public String toString()
toString in class Object
public 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.ToString
public 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 Signature withSignedInfo(SignedInfo value)
public Signature withSignatureValue(SignatureValue value)
public Signature withKeyInfo(KeyInfo value)
public Signature withObjects(Object... values)
public Signature withObjects(Collection<Object> values)
public Signature withId(String value)
public Signature withObjects(List<Object> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||