CertSelector


CertSelector java.security.cert

Java 1.4 cloneable

This interface defines an API for determining whether a Certificate meets some criteria. Implementations are used to specify critera by which a certificate or certificates should be selected from a CertStore object. The match( ) method should examine the Certificate it is passed and return true if it "matches" based on whatever criteria the implementation defines. See X509CertSelector for an implementation that works with X.509 certificates. See CRLSelector for a similar interface for use when selecting CRL objects from a CertStore .

Figure 14-59. java.security.cert.CertSelector

 public interface  CertSelector  extends Cloneable {  // Public Instance Methods  Object  clone  ( );        boolean  match  (java.security.cert.Certificate  cert  );   } 

Implementations

X509CertSelector

Passed To

CertStore.getCertificates( ) , CertStoreSpi.engineGetCertificates( ) , PKIXBuilderParameters.PKIXBuilderParameters( ) , PKIXParameters.setTargetCertConstraints( )

Returned By

PKIXParameters.getTargetCertConstraints( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net