java.security.cert

Interface CRLSelector

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 {@link CRL} objects in a {@link CertStore}.

See Also: CertStore CertSelector X509CRLSelector

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

Method Detail

clone

public Object clone()
Returns a clone of this instance.

Returns: The clone.

match

public 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.