diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-07-15 10:26:49 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-07-15 10:26:49 +0200 |
commit | 6f688b64b1520025d0cb574fbd8e309d1a5ffb96 (patch) | |
tree | cf84e9d188a2751aed706898008159efd7242440 /pdf-as-common/src/main/java/at | |
parent | 8eecd5504d82b4827dda5b0549e0662051f37df2 (diff) | |
download | pdf-as-4-6f688b64b1520025d0cb574fbd8e309d1a5ffb96.tar.gz pdf-as-4-6f688b64b1520025d0cb574fbd8e309d1a5ffb96.tar.bz2 pdf-as-4-6f688b64b1520025d0cb574fbd8e309d1a5ffb96.zip |
Moved signer certificate info PDFAS Verification Response
Diffstat (limited to 'pdf-as-common/src/main/java/at')
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java | 9 | ||||
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java index 19517a13..3e8a360b 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java @@ -39,7 +39,6 @@ public class PDFASSignResponse implements Serializable { String requestID; String error; byte[] signedPDF; - byte[] signerCertificate; PDFASVerificationResponse verificationResponse; String redirectUrl; @@ -59,14 +58,6 @@ public class PDFASSignResponse implements Serializable { this.signedPDF = signedPDF; } - @XmlElement(required = false, nillable = false, name="signerCertificate") - public byte[] getSignerCertificate() { - return signerCertificate; - } - public void setSignerCertificate(byte[] signerCertificate) { - this.signerCertificate = signerCertificate; - } - @XmlElement(required = false, nillable = false, name="verificationResponse") public PDFASVerificationResponse getVerificationResponse() { return verificationResponse; diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java index c4fb438d..720b4438 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java @@ -15,6 +15,7 @@ public class PDFASVerificationResponse implements Serializable { int valueCode; int certificateCode; + byte[] signerCertificate; @XmlElement(required = true, nillable = false, name="valueCode") public int getValueCode() { @@ -31,4 +32,12 @@ public class PDFASVerificationResponse implements Serializable { public void setCertificateCode(int certificateCode) { this.certificateCode = certificateCode; } + + @XmlElement(required = false, nillable = false, name="signerCertificate") + public byte[] getSignerCertificate() { + return signerCertificate; + } + public void setSignerCertificate(byte[] signerCertificate) { + this.signerCertificate = signerCertificate; + } } |