From 6ea2c1db26260c1f36e01c58fc6f8ef0220e577e Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 5 Jun 2014 10:46:34 +0200 Subject: SOAP Service for backend upload + transaction ID fixes --- .../src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java | 4 ++++ .../src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java index 42bd79c6..df397733 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java @@ -25,6 +25,8 @@ package at.gv.egiz.pdfas.lib.api; import java.security.cert.CertificateException; +import at.gv.egiz.pdfas.lib.api.sign.SignParameter; + /** * Status of a signture process */ @@ -78,5 +80,7 @@ public interface StatusRequest { * @param signatureValue */ public void setSigature(byte[] signatureValue) ; + + public SignParameter getSignParameter(); } diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java index 86b8325e..49b78659 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java @@ -28,6 +28,7 @@ import iaik.x509.X509Certificate; import java.security.cert.CertificateException; import at.gv.egiz.pdfas.lib.api.StatusRequest; +import at.gv.egiz.pdfas.lib.api.sign.SignParameter; import at.gv.egiz.pdfas.lib.impl.status.OperationStatus; public class StatusRequestImpl implements StatusRequest { @@ -105,4 +106,10 @@ public class StatusRequestImpl implements StatusRequest { public void setSigature(byte[] signatureValue) { this.encodedSignature = signatureValue; } + + public SignParameter getSignParameter() { + return this.status.getSignParamter(); + } + + } -- cgit v1.2.3