From 29ec10fb663523c4a18904c332199ce6e974dd2f Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Wed, 27 Nov 2013 10:05:35 +0100 Subject: Support for QR Placeholders in PAdES --- .../src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'signature-standards/sigs-pades/src/main/java/at/gv/egiz') diff --git a/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java b/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java index 71b24213..6af44b59 100644 --- a/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java +++ b/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java @@ -43,8 +43,6 @@ public class PAdESVerifier implements IVerifyFilter { public PAdESVerifier(Configuration config) { IAIK.getInstance(); ECCProvider.addAsProvider(); - this.moaEndpoint = config.getValue(MOA_VERIFY_URL); - this.moaTrustProfile = config.getValue(MOA_VERIFY_TRUSTPROFILE); } @SuppressWarnings("rawtypes") @@ -146,4 +144,9 @@ public class PAdESVerifier implements IVerifyFilter { return result; } + public void setConfiguration(Configuration config) { + this.moaEndpoint = config.getValue(MOA_VERIFY_URL); + this.moaTrustProfile = config.getValue(MOA_VERIFY_TRUSTPROFILE); + } + } -- cgit v1.2.3