aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2017-04-05 10:42:58 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2017-04-05 10:42:58 +0200
commit48c93a11591ff1459c2ae9152e46bd5bd5e05f12 (patch)
tree3d6904c50ff727f74cf3ce883dd37668399e1b85 /moaSig/moa-sig-lib
parenta38b48a3f19e7ba4cc0326e3c5d5b3ebb4496140 (diff)
downloadmoa-sig-48c93a11591ff1459c2ae9152e46bd5bd5e05f12.tar.gz
moa-sig-48c93a11591ff1459c2ae9152e46bd5bd5e05f12.tar.bz2
moa-sig-48c93a11591ff1459c2ae9152e46bd5bd5e05f12.zip
IAIK PAdES verification module had to be closed manually
Diffstat (limited to 'moaSig/moa-sig-lib')
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java
index 3f1ae37..d618bab 100644
--- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java
+++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java
@@ -167,6 +167,9 @@ public class CMSSignatureVerificationInvoker {
results = module.verifySignature(signingTime);
}
+ //PAdES module had to be closed manually
+ module.closeModule();
+
} else {
// get the signed content
signedContent = getSignedContent(request);