# CRLSelector

public interface **CRLSelector** implements [Cloneable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Cloneable.html)

|---|---|---|
| Known Indirect Subclasses [X509CRLSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/X509CRLSelector.html) |---|---| | [X509CRLSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/X509CRLSelector.html) | A `CRLSelector` that selects `X509CRLs` that match all specified criteria. | |||

A selector that defines a set of criteria for selecting `CRL`s.
Classes that implement this interface are often used to specify
which `CRL`s 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.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRL.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertStore.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertStore.html#getCRLs(java.security.cert.CRLSelector)`

### Public Method Summary

|---|---|
| abstract [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRLSelector.html#clone())() Makes a copy of this `CRLSelector`. |
| abstract boolean | [match](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRLSelector.html#match(java.security.cert.CRL))([CRL](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRL.html) crl) Decides whether a `CRL` should be selected. |

## Public Methods

#### public abstract [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)
**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`

#### public abstract boolean
**match**
([CRL](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRL.html) 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