Class OCSPRevocationChecker
java.lang.Object
eu.emi.security.authn.x509.helpers.ocsp.OCSPRevocationChecker
- All Implemented Interfaces:
RevocationChecker
Implementation of
RevocationChecker
using CRLs, the OCSPVerifier
- Author:
- K. Benedyczak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckRevocation
(X509Certificate certitifcate, X509Certificate issuer) Checks revocation.
-
Constructor Details
-
OCSPRevocationChecker
-
-
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.
-