aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/StatusRequest.java4
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/StatusRequestImpl.java7
2 files changed, 11 insertions, 0 deletions
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();
+ }
+
+
}