public interface CertificateVerifier
Instances of CertificateVerifier are returned by
the CertificateTrustPolicy.makeCertificateVerifier(java.util.Vector<oracle.security.crypto.cert.X509>, java.util.Vector<oracle.security.crypto.cert.CRL>) method.
Both the CertificateVerifier and CertificateTrustPolicy
interfaces should be implemented for specific verification schemes.
CertificateTrustPolicy,
TrustedCAPolicy| Modifier and Type | Method and Description |
|---|---|
X509 |
getValidCertificate(IssuerAndSerialNo iasn)
Returns a certificate, known to be valid (according to
criteria dependent on the verification scheme), which has
the given issuer name and serial number.
|
X509 getValidCertificate(IssuerAndSerialNo iasn) throws AuthenticationException
null if
no certificate with the given issuer name and
serial number could be found.AuthenticationException - If a certificate with the given issuer name and
serial number could be found, but is not valid
or could not be verified.