diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-11-27 10:05:35 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-11-27 10:05:35 +0100 |
commit | 29ec10fb663523c4a18904c332199ce6e974dd2f (patch) | |
tree | 3d68c52ca1fd5e2cb2f90c1890db22e4fd943dcb /signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs | |
parent | f3476576c50efd922593c82656efda7aec5ae97f (diff) | |
download | pdf-as-4-29ec10fb663523c4a18904c332199ce6e974dd2f.tar.gz pdf-as-4-29ec10fb663523c4a18904c332199ce6e974dd2f.tar.bz2 pdf-as-4-29ec10fb663523c4a18904c332199ce6e974dd2f.zip |
Support for QR Placeholders in PAdES
Diffstat (limited to 'signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs')
-rw-r--r-- | signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java | 7 |
1 files changed, 5 insertions, 2 deletions
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); + } + } |