aboutsummaryrefslogtreecommitdiff
path: root/signature-standards/sigs-pades/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'signature-standards/sigs-pades/src/main/java/at')
-rw-r--r--signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java7
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);
+ }
+
}