java.security.cert
Interface CRLSelector

All Superinterfaces:
Cloneable
All Known Implementing Classes:
X509CRLSelector

public interface CRLSelector
extends Cloneable

A generic interface to classes that match certificate revocation lists (CRLs) to some given criteria. Implementations of this interface are useful for finding CRL objects in a CertStore.

See Also:
CertStore, CertSelector, X509CRLSelector

Method Summary
 Object clone()
          Returns a clone of this instance.
 boolean match(CRL crl)
          Match a given certificate revocation list to this selector's criteria, returning true if it matches, false otherwise.
 

Method Detail

clone

Object clone()
Returns a clone of this instance.

Returns:
The clone.

match

boolean match(CRL crl)
Match a given certificate revocation list to this selector's criteria, returning true if it matches, false otherwise.

Parameters:
crl - The certificate revocation list to test.
Returns:
The boolean result of this test.