Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Methods](https://developer.android.com/reference/java/security/cert/CRLSelector#pubmethods)

# CRLSelector

` public interface CRLSelector `   
` implements https://developer.android.com/reference/java/lang/Cloneable `

|---|
| java.security.cert.CRLSelector |

Known indirect subclasses [X509CRLSelector](https://developer.android.com/reference/java/security/cert/X509CRLSelector) [X509CRLSelector](https://developer.android.com/reference/java/security/cert/X509CRLSelector) 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://developer.android.com/reference/java/security/cert/CRL`
- `https://developer.android.com/reference/java/security/cert/CertStore`
- `https://developer.android.com/reference/java/security/cert/CertStore#getCRLs(java.security.cert.CRLSelector)`

## Summary

| ### Public methods ||
|---|---|
| ` abstract https://developer.android.com/reference/java/lang/Object` | ` https://developer.android.com/reference/java/security/cert/CRLSelector#clone()() ` Makes a copy of this `CRLSelector`. |
| ` abstract boolean` | ` https://developer.android.com/reference/java/security/cert/CRLSelector#match(java.security.cert.CRL)(https://developer.android.com/reference/java/security/cert/CRL crl) ` Decides whether a `CRL` should be selected. |

## Public methods

### clone

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract Object clone ()
```

Makes a copy of this `CRLSelector`. Changes to the copy will not affect the original and vice versa.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/Object` | a copy of this `CRLSelector` <br /> |

### match

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract boolean match (CRL crl)
```

Decides whether a `CRL` should be selected.

<br />

| Parameters ||
|---|---|
| `crl` | `CRL`: the `CRL` to be checked <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if the `CRL` should be selected, `false` otherwise <br /> |