public interface CRLTestlet extends ExtensionTestlet
CRLTestlet is the interface that every CRL extension testlet
must implement.
The ExtensionTester first calls every testlet's init()
method followed by the notify() method for each testlet
whose extension is found in the CRL. The ExtensionTester then
calls every testlet's validate() and reset methods.
The dataContainer passed to every method can be used to store
data that the CRL extension testlet use to validate the CRL.
| Modifier and Type | Method and Description |
|---|---|
void |
init(X509Certificate caCert,
TestletDataSet dataSet)
Initializes the CRL extension testlet when a new CRL is to be validated.
|
void |
validate(X509CRL crl,
TestletDataSet dataSet)
Validates the certificate based on the CRL extensions found in this CRL.
|
notify, resetvoid init(X509Certificate caCert, TestletDataSet dataSet)
caCert - the CA certificate of the CA which signed the CRLdataSet - a set where the testlet can store temporary data for validationvoid validate(X509CRL crl, TestletDataSet dataSet) throws ExtensionException
crl - the CRL to validatedataSet - a set where the testlet can store temporary data for validationExtensionException - thrown if validation fails