From 550177c54ce258715177a28f2d2d78812bf745fd Mon Sep 17 00:00:00 2001 From: Andreas Reiter Date: Thu, 27 Feb 2014 18:31:06 +0100 Subject: Added signeddoc attribute provider plugin --- .../eu/stork/peps/auth/engine/core/impl/SignSW.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'id/server/stork2-saml-engine') diff --git a/id/server/stork2-saml-engine/src/main/java/eu/stork/peps/auth/engine/core/impl/SignSW.java b/id/server/stork2-saml-engine/src/main/java/eu/stork/peps/auth/engine/core/impl/SignSW.java index 4554a9586..6652560bd 100644 --- a/id/server/stork2-saml-engine/src/main/java/eu/stork/peps/auth/engine/core/impl/SignSW.java +++ b/id/server/stork2-saml-engine/src/main/java/eu/stork/peps/auth/engine/core/impl/SignSW.java @@ -426,16 +426,16 @@ public class SignSW implements SAMLEngineSignI { final BasicX509Credential entityX509Cred = new BasicX509Credential(); entityX509Cred.setEntityCertificate(cert); - try { - cert.checkValidity(); - } - catch (CertificateExpiredException exp) { - throw new SAMLEngineException("Certificate expired."); - } - catch (CertificateNotYetValidException exp) { - throw new SAMLEngineException("Certificate not yet valid."); - } - +// try { +// cert.checkValidity(); +// } +// catch (CertificateExpiredException exp) { +// throw new SAMLEngineException("Certificate expired."); +// } +// catch (CertificateNotYetValidException exp) { +// throw new SAMLEngineException("Certificate not yet valid."); +// } +// boolean trusted = false; for (final Enumeration e = storkOwnKeyStore.aliases(); e.hasMoreElements();) -- cgit v1.2.3