public class IssuingDistributionPointCRLTestlet extends java.lang.Object implements CRLTestlet
| Constructor and Description |
|---|
IssuingDistributionPointCRLTestlet() |
| 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 |
notify(V3Extension extension,
TestletDataSet dataSet)
Notifies the testlet that the extension for which the testlet is registered
has been found in the certificate or CRL.
|
void |
reset(TestletDataSet dataSet)
Resets the temporary validation data.
|
void |
validate(X509CRL crl,
TestletDataSet dataSet)
Validates the certificate based on the CRL extensions found in this CRL.
|
public void init(X509Certificate caCert, TestletDataSet dataSet)
CRLTestletinit in interface CRLTestletcaCert - the CA certificate of the CA which signed the CRLdataSet - a set where the testlet can store temporary data for validationpublic void notify(V3Extension extension, TestletDataSet dataSet)
ExtensionTestletnotify in interface ExtensionTestletextension - the extension found in the certificatedataSet - a set in which the testlet can store temporary data for validationpublic void validate(X509CRL crl, TestletDataSet dataSet) throws ExtensionException
CRLTestletvalidate in interface CRLTestletcrl - the CRL to validatedataSet - a set where the testlet can store temporary data for validationExtensionException - thrown if validation failspublic void reset(TestletDataSet dataSet)
ExtensionTestletreset in interface ExtensionTestletdataSet - a set in which the testlet can store temporary data for validation