summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-13 14:42:55 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-13 14:42:55 +0000
commit6cff5791593bddee2fe1dab0b906e063e0ba142e (patch)
tree73a90ca93f09abc72d694e590cbc118885312b4e /bkucommon/src/main/java
parent00730263324f79880bd81448fd2eac6e28241f9a (diff)
downloadmocca-6cff5791593bddee2fe1dab0b906e063e0ba142e.tar.gz
mocca-6cff5791593bddee2fe1dab0b906e063e0ba142e.tar.bz2
mocca-6cff5791593bddee2fe1dab0b906e063e0ba142e.zip
move certificate validity check to the other side of STAL
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1106 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/main/java')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
index 5f8bebec..23812fec 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
@@ -231,16 +231,6 @@ public class CreateXMLSignatureCommandImpl extends
log.info("Got signing certificate.");
}
- // check certificate for validity
- try {
- signingCertificate.checkValidity();
- log.info("signing certificate is valid");
- } catch (CertificateExpiredException e) {
- log.warn("Your signing certificate has expired!");
- } catch (CertificateNotYetValidException e) {
- log.warn("Your signing certificate is not yet valid!");
- }
-
// prepare the XMLSignature for signing
log.info("Preparing XML signature.");
prepareXMLSignature(commandContext);