summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-24 11:43:15 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-24 11:43:15 +0100
commitfd308cf919bdb5ced090ae5ab20277419fdce140 (patch)
treec50ec2eb94a23de3df5dc8a9e6b43be15bf6454d /src/main
parentb5b727b61f86f13ea894297ff471c31873a6cc22 (diff)
downloadegovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.tar.gz
egovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.tar.bz2
egovutils-fd308cf919bdb5ced090ae5ab20277419fdce140.zip
add optional element to SZR v4 client response
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java26
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;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="JwsAlg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
+ * &lt;element name="Cert" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/&gt;
* &lt;element name="Out" type="{urn:SZRServices}SignContentEntry" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
@@ -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>