From 1d83dd9a304c35cc6ec7994504c42fbd403719f1 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Mar 2014 18:23:39 +0100 Subject: Extract secureSignatureCreationDevice and IssuerCountryCode from MOA 1.5.2 response --- .../at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas/impl') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java index 09d247d..713a6dd 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java @@ -61,7 +61,6 @@ public class VerifyResultAdapter extends SignatureInformationAdapter implements private String timestamp; private XMLDsigData xmlDsigData; - /** * Constructor. @@ -201,5 +200,14 @@ public class VerifyResultAdapter extends SignatureInformationAdapter implements public XMLDsigData getReconstructedXMLDsig() { return this.xmlDsigData; } + + + public String getSecureSignatureCreationDevice() { + return this.sigRes.getSecureSignatureCreationDevice(); + } + + public String getIssuerCountryCode() { + return this.sigRes.getIssuerCountryCode(); + } } -- cgit v1.2.3