CertificatePoliciesCertTestlet.public class PolicyConstraintsCertTestlet extends java.lang.Object implements CertTestlet
CertificatePoliciesCertTestlet| Constructor and Description |
|---|
PolicyConstraintsCertTestlet()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(X509Certificate[] certChain,
TestletDataSet dataSet)
Deprecated.
Initializes the certificate extension testlet when a new certificate
chain is to be validated.
|
void |
notify(V3Extension extension,
TestletDataSet dataSet)
Deprecated.
Notifies the testlet that the extension for which the testlet is registered
has been found in the certificate or CRL.
|
void |
reset(TestletDataSet dataSet)
Deprecated.
Resets the temporary validation data.
|
void |
validate(X509Certificate cert,
TestletDataSet dataSet)
Deprecated.
Validates the certificate based on the certificate extensions found in
this, or previous, certificates.
|
public void init(X509Certificate[] certChain, TestletDataSet dataSet)
CertTestletinit in interface CertTestletcertChain - the certificate chain to be validateddataSet - a set in which 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(X509Certificate cert, TestletDataSet dataSet) throws ExtensionException
CertTestletvalidate in interface CertTestletcert - the certificate to validatedataSet - a set in which 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