com.entrust.toolkit.x509.testlets
Class NullCRLEntryTestlet
java.lang.Object
|
+--com.entrust.toolkit.x509.testlets.NullCRLEntryTestlet
- public class NullCRLEntryTestlet
- extends java.lang.Object
- implements CRLEntryTestlet
This is an empty CRL Entry testlet to perform no testing on
CRL entry extensions that don't need to be tested.
|
Method Summary |
void |
init(X509CRL crl,
TestletDataSet dataSet)
Initializes the CRL entry 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 CRL entry. |
void |
reset(TestletDataSet dataSet)
Resets the temporary validation data. |
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. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NullCRLEntryTestlet
public NullCRLEntryTestlet()
init
public void init(X509CRL crl,
TestletDataSet dataSet)
- Description copied from interface: CRLEntryTestlet
-
Initializes the CRL entry extension testlet when a new CRL is to be
validated.
- Specified by:
- init in interface CRLEntryTestlet
- Tags copied from interface: CRLEntryTestlet
- Parameters:
crl - the crl that is to be validateddataSet - a set where the testlet can store temporary data for validation
notify
public void notify(V3Extension extension,
TestletDataSet dataSet)
- Description copied from interface: CRLEntryTestlet
-
Notifies the testlet that the extension for which the testlet is registered
has been found in the CRL entry.
- Specified by:
- notify in interface CRLEntryTestlet
- Tags copied from interface: CRLEntryTestlet
- Parameters:
extension - the extension found in the CRL entrydataSet - a set in which the testlet can store temporary data for validation
validate
public void validate(RevokedCertificate revokedCert,
TestletDataSet dataSet)
- Description copied from interface: CRLEntryTestlet
-
Validates the CRL entry based on the CRL entry extensions found in this
or previous CRL entries, or on those found in the CRL.
- Specified by:
- validate in interface CRLEntryTestlet
- Tags copied from interface: CRLEntryTestlet
- Parameters:
revokedCert - the CRL entry to validatedataSet - a set in which the testlet can store temporary data for validation- Throws:
- ExtensionException - if validation fails
reset
public void reset(TestletDataSet dataSet)
- Description copied from interface: CRLEntryTestlet
-
Resets the temporary validation data.
- Specified by:
- reset in interface CRLEntryTestlet
- Tags copied from interface: CRLEntryTestlet
- Parameters:
dataSet - a set in which the testlet can store temporary data for validation