Class OCSPRevocationChecker
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.ocsp.OCSPRevocationChecker
-
- All Implemented Interfaces:
RevocationChecker
public class OCSPRevocationChecker extends java.lang.Object implements RevocationChecker
Implementation ofRevocationCheckerusing CRLs, theOCSPVerifier- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description OCSPRevocationChecker(OCSPVerifier verifier, OCSPCheckingMode checkingMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevocationStatuscheckRevocation(java.security.cert.X509Certificate certitifcate, java.security.cert.X509Certificate issuer)Checks revocation.
-
-
-
Constructor Detail
-
OCSPRevocationChecker
public OCSPRevocationChecker(OCSPVerifier verifier, OCSPCheckingMode checkingMode)
-
-
Method Detail
-
checkRevocation
public RevocationStatus checkRevocation(java.security.cert.X509Certificate certitifcate, java.security.cert.X509Certificate issuer) throws SimpleValidationErrorException
Description copied from interface:RevocationCheckerChecks revocation.- Specified by:
checkRevocationin 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.
-
-