From fd308cf919bdb5ced090ae5ab20277419fdce140 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 24 Feb 2020 11:43:15 +0100 Subject: add optional element to SZR v4 client response --- .../util/xsd/szr_v4/SignContentResponseType.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/main') 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 out; @@ -65,6 +69,28 @@ public class SignContentResponseType { this.jwsAlg = value; } + /** + * 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. * -- cgit v1.2.3