diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
commit | c7e92047632432346c13723925f45888461887e9 (patch) | |
tree | 3cc1e96e2d0bc59047b484bbb86f227e21aa9cb9 /src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java | |
parent | e5474ef416f8d9f6cb2c3b6e900ad1eb5ac20a38 (diff) | |
download | egovutils-c7e92047632432346c13723925f45888461887e9.tar.gz egovutils-c7e92047632432346c13723925f45888461887e9.tar.bz2 egovutils-c7e92047632432346c13723925f45888461887e9.zip |
add USP_v2 client implementation
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java new file mode 100644 index 0000000..c1b6863 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java @@ -0,0 +1,188 @@ + +package at.gv.util.xsd.mis.usp_v2.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java-Klasse für SignatureType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Ruft den Wert der signedInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Legt den Wert der signedInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Ruft den Wert der signatureValue-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Legt den Wert der signatureValue-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Ruft den Wert der keyInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Legt den Wert der keyInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} |