From 6f688b64b1520025d0cb574fbd8e309d1a5ffb96 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 15 Jul 2014 10:26:49 +0200 Subject: Moved signer certificate info PDFAS Verification Response --- .../src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java | 9 --------- .../java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'pdf-as-common/src/main/java/at/gv/egiz/pdfas') 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; + } } -- cgit v1.2.3