diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-02-24 11:43:15 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-02-24 11:43:15 +0100 |
commit | fd308cf919bdb5ced090ae5ab20277419fdce140 (patch) | |
tree | c50ec2eb94a23de3df5dc8a9e6b43be15bf6454d /src/main/java/at/gv/util | |
parent | b5b727b61f86f13ea894297ff471c31873a6cc22 (diff) | |
download | egovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.tar.gz egovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.tar.bz2 egovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.zip |
add optional element to SZR v4 client response
Diffstat (limited to 'src/main/java/at/gv/util')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java index 8b02ee5..77343cc 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java @@ -20,6 +20,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="JwsAlg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Cert" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> * <element name="Out" type="{urn:SZRServices}SignContentEntry" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> @@ -32,12 +33,15 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SignContentResponseType", propOrder = { "jwsAlg", + "cert", "out" }) public class SignContentResponseType { @XmlElement(name = "JwsAlg") protected String jwsAlg; + @XmlElement(name = "Cert") + protected byte[] cert; @XmlElement(name = "Out") protected List<SignContentEntry> out; @@ -66,6 +70,28 @@ public class SignContentResponseType { } /** + * Ruft den Wert der cert-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCert() { + return cert; + } + + /** + * Legt den Wert der cert-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setCert(byte[] value) { + this.cert = value; + } + + /** * Gets the value of the out property. * * <p> |