Class CRLRevocationChecker
java.lang.Object
eu.emi.security.authn.x509.helpers.revocation.CRLRevocationChecker
- All Implemented Interfaces:
RevocationChecker
Implementation of
RevocationChecker
using CRLs, the RFC3280CertPathUtilitiesCanl
.- Author:
- K. Benedyczak
-
Constructor Summary
ConstructorsConstructorDescriptionCRLRevocationChecker
(ExtPKIXParameters2 paramsPKIX, Date validDate, PublicKey workingPublicKey, List<?> certificates, CrlCheckingMode checkingMode) -
Method Summary
Modifier and TypeMethodDescriptioncheckRevocation
(X509Certificate certitifcate, X509Certificate issuer) Checks revocation.
-
Constructor Details
-
CRLRevocationChecker
public CRLRevocationChecker(ExtPKIXParameters2 paramsPKIX, Date validDate, PublicKey workingPublicKey, List<?> certificates, CrlCheckingMode checkingMode)
-
-
Method Details
-
checkRevocation
public RevocationStatus checkRevocation(X509Certificate certitifcate, 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.
-