aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-common/src/main/java/at/gv/egiz/pdfas')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignResponse.java9
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASVerificationResponse.java9
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;
+ }
}