Class CRLRevocationChecker
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.revocation.CRLRevocationChecker
-
- All Implemented Interfaces:
RevocationChecker
public class CRLRevocationChecker extends java.lang.Object implements RevocationChecker
Implementation ofRevocationChecker
using CRLs, theRFC3280CertPathUtilitiesCanl
.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description CRLRevocationChecker(ExtPKIXParameters2 paramsPKIX, java.util.Date validDate, java.security.PublicKey workingPublicKey, java.util.List<?> certificates, CrlCheckingMode checkingMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevocationStatus
checkRevocation(java.security.cert.X509Certificate certitifcate, java.security.cert.X509Certificate issuer)
Checks revocation.
-
-
-
Constructor Detail
-
CRLRevocationChecker
public CRLRevocationChecker(ExtPKIXParameters2 paramsPKIX, java.util.Date validDate, java.security.PublicKey workingPublicKey, java.util.List<?> certificates, CrlCheckingMode checkingMode)
-
-
Method Detail
-
checkRevocation
public RevocationStatus checkRevocation(java.security.cert.X509Certificate certitifcate, java.security.cert.X509Certificate issuer) throws SimpleValidationErrorException
Description copied from interface:RevocationChecker
Checks revocation.- Specified by:
checkRevocation
in interfaceRevocationChecker
- Parameters:
certitifcate
- certificateissuer
- issuer- Returns:
- whether the revocation was successfully checked or if the status is unknown.
- Throws:
SimpleValidationErrorException
- if revocation validation finished with error, in particular also when certificate is revoked.
-
-