public final class ThresholdExpiredCRLRevocationPolicy extends Object implements RevocationPolicy<X509CRL>
| Constructor and Description |
|---|
ThresholdExpiredCRLRevocationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(X509CRL crl)
The CRL next update time is compared against the current time with the threshold
applied and rejected if and only if the next update time is in the past.
|
void |
setThreshold(int threshold)
Sets the threshold period of time after which expired CRL data is rejected.
|
public void apply(X509CRL crl) throws GeneralSecurityException
apply in interface RevocationPolicy<X509CRL>crl - CRL instance to evaluate.ExpiredCRLException - On expired CRL data.GeneralSecurityException - When policy application poses a security
risk or policy application is prevented for security reasons.RevocationPolicy.apply(java.lang.Object)public void setThreshold(int threshold)
threshold - Number of seconds; MUST be non-negative integer.Copyright © 2004-2015 Jasig. All Rights Reserved.