Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


oracle.security.crypto.cert
Interface CertificateVerifier


public interface CertificateVerifier

A generic interface for certificate verification policies, such as X.509 certificate path validation, that operate on certificates known by issuer DN and serial number.

Instances of CertificateVerifier are returned by the CertificateTrustPolicy.makeCertificateVerifier(java.util.Vector, java.util.Vector) method. Both the CertificateVerifier and CertificateTrustPolicy interfaces should be implemented for specific verification schemes.

See Also:
CertificateTrustPolicy, TrustedCAPolicy

Method Summary
 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.

 

Method Detail

getValidCertificate

public X509 getValidCertificate(IssuerAndSerialNo iasn)
                         throws oracle.security.crypto.core.AuthenticationException
Returns a certificate, known to be valid (according to criteria dependent on the verification scheme), which has the given issuer name and serial number.
Returns:
The valid certificate, or null if no certificate with the given issuer name and serial number could be found.
Throws:
oracle.security.crypto.core.AuthenticationException - If a certificate with the given issuer name and serial number could be found, but is not valid or could not be verified.

Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


Copyright © 2005 ,2006 , Oracle. All rights reserved.