public interface CRLEntryTestlet extends ExtensionTestlet
CRLEntryTestlet is the interface that every CRL entry extension
testlet must implement.
For each CRL that is validated, the init method is called once.
For each entry in the CRL, the ExtensionTester calls the methods
notify, validate, and reset in this
order.
notify is called only if the extension for which the testlet
is registered is found in the CRL entry.
The dataContainer passed to every method can be used to store
data that the CRL entry testlet uses to validate the CRL.
| Modifier and Type | Method and Description |
|---|---|
void |
init(X509CRL crl,
TestletDataSet dataSet)
Initializes the CRL entry extension testlet when a new CRL is to be
validated.
|
void |
validate(RevokedCertificate revokedCert,
TestletDataSet dataSet)
Validates the CRL entry based on the CRL entry extensions found in this
or previous CRL entries, or on those found in the CRL.
|
notify, resetvoid init(X509CRL crl, TestletDataSet dataSet)
crl - the crl that is to be validateddataSet - a set where the testlet can store temporary data for validationvoid validate(RevokedCertificate revokedCert, TestletDataSet dataSet) throws ExtensionException
revokedCert - the CRL entry to validatedataSet - a set in which the testlet can store temporary data for validationExtensionException - if validation fails