CertSelector | java.security.cert |
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.

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( )
 |