java.security.cert
Interface CRLSelector

All Superinterfaces:
Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable
All Known Implementing Classes:
X509CRLSelector sample code for java.security.cert.X509CRLSelector definition code for java.security.cert.X509CRLSelector

public interface CRLSelector
extends Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable

A selector that defines a set of criteria for selecting CRLs. Classes that implement this interface are often used to specify which CRLs should be retrieved from a CertStore.

Concurrent Access

Unless otherwise specified, the methods defined in this interface are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.

Since:
1.4
See Also:
CRL sample code for java.security.cert.CRL definition code for java.security.cert.CRL , CertStore sample code for java.security.cert.CertStore definition code for java.security.cert.CertStore , CertStore.getCRLs(java.security.cert.CRLSelector) sample code for java.security.cert.CertStore.getCRLs(java.security.cert.CRLSelector) definition code for java.security.cert.CertStore.getCRLs(java.security.cert.CRLSelector)

Method Summary
 Object sample code for java.lang.Object definition code for java.lang.Object clone sample code for java.security.cert.CRLSelector.clone() definition code for java.security.cert.CRLSelector.clone() ()
          Makes a copy of this CRLSelector.
 boolean match sample code for java.security.cert.CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.CRLSelector.match(java.security.cert.CRL) (CRL sample code for java.security.cert.CRL definition code for java.security.cert.CRL  crl)
          Decides whether a CRL should be selected.
 

Method Detail

match sample code for java.security.cert.CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.CRLSelector.match(java.security.cert.CRL)

boolean match(CRL sample code for java.security.cert.CRL definition code for java.security.cert.CRL  crl)
Decides whether a CRL should be selected.

Parameters:
crl - the CRL to be checked
Returns:
true if the CRL should be selected, false otherwise

clone sample code for java.security.cert.CRLSelector.clone() definition code for java.security.cert.CRLSelector.clone()

Object sample code for java.lang.Object definition code for java.lang.Object  clone()
Makes a copy of this CRLSelector. Changes to the copy will not affect the original and vice versa.

Returns:
a copy of this CRLSelector