public abstract class AbstractCRLRevocationChecker extends Object implements RevocationChecker
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
Logger instance.
|
| Constructor and Description |
|---|
AbstractCRLRevocationChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(X509Certificate cert)
Checks the revocation status of the given certificate.
|
protected abstract X509CRL |
getCRL(X509Certificate cert)
Gets the CRL for the given certificate.
|
void |
setExpiredCRLPolicy(RevocationPolicy<X509CRL> policy)
Sets the policy to apply when CRL data is expired.
|
void |
setUnavailableCRLPolicy(RevocationPolicy<Void> policy)
Sets the policy to apply when CRL data is unavailable.
|
public void check(X509Certificate cert) throws GeneralSecurityException
check in interface RevocationCheckercert - Certificate to examine.GeneralSecurityException - If certificate has been revoked or the revocation
check fails for some reason such as revocation data not available.public void setUnavailableCRLPolicy(RevocationPolicy<Void> policy)
policy - Revocation policy.public void setExpiredCRLPolicy(RevocationPolicy<X509CRL> policy)
policy - Revocation policy.protected abstract X509CRL getCRL(X509Certificate cert)
cert - Certificate for which the CRL of the issuing CA should be retrieved.Copyright © 2004-2015 Jasig. All Rights Reserved.