Interface RevocationChecker
- All Known Implementing Classes:
CRLRevocationChecker
,OCSPRevocationChecker
public interface RevocationChecker
Used to check revocation using a single revocation checking mechanism.
- Author:
- K. Benedyczak
-
Method Summary
Modifier and TypeMethodDescriptioncheckRevocation
(X509Certificate certitifcate, X509Certificate issuer) Checks revocation.
-
Method Details
-
checkRevocation
RevocationStatus checkRevocation(X509Certificate certitifcate, X509Certificate issuer) throws SimpleValidationErrorException Checks revocation.- 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.
-