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

# X509CRLSelector


`
public


class
X509CRLSelector
`


`

extends https://developer.android.com/reference/java/lang/Object


`

`


implements

https://developer.android.com/reference/java/security/cert/CRLSelector


`

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | java.security.cert.X509CRLSelector |

<br />

*** ** * ** ***

A `CRLSelector` that selects `X509CRLs` that
match all specified criteria. This class is particularly useful when
selecting CRLs from a `CertStore` to check revocation status
of a particular certificate.


When first constructed, an `X509CRLSelector` has no criteria
enabled and each of the `get` methods return a default
value (`null`). Therefore, the `https://developer.android.com/reference/java/security/cert/X509CRLSelector#match(java.security.cert.CRL)` method
would return `true` for any `X509CRL`. Typically,
several criteria are enabled (by calling `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)`
or `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setDateAndTime(java.util.Date)`, for instance) and then the
`X509CRLSelector` is passed to
`https://developer.android.com/reference/java/security/cert/CertStore#getCRLs(java.security.cert.CRLSelector)` or some similar
method.


Please refer to [RFC 5280:
Internet X.509 Public Key Infrastructure Certificate and CRL Profile](http://tools.ietf.org/html/rfc5280)
for definitions of the X.509 CRL fields and extensions mentioned below.


**Concurrent Access**


Unless otherwise specified, the methods defined in this class 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/CRLSelector`
- `https://developer.android.com/reference/java/security/cert/X509CRL`

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#X509CRLSelector()() ` Creates an `X509CRLSelector`. |

| ### Public methods ||
|---|---|
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuer(javax.security.auth.x500.X500Principal)(https://developer.android.com/reference/javax/security/auth/x500/X500Principal issuer) ` Adds a name to the issuerNames criterion. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuerName(byte[])(byte[] name) ` Adds a name to the issuerNames criterion. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuerName(java.lang.String)(https://developer.android.com/reference/java/lang/String name) ` **Denigrated** , use [addIssuer(X500Principal)](https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuer(javax.security.auth.x500.X500Principal)) or [addIssuerName(byte\[\])](https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuerName(byte[])) instead. |
| ` https://developer.android.com/reference/java/lang/Object` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#clone()() ` Returns a copy of this object. |
| ` https://developer.android.com/reference/java/security/cert/X509Certificate` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getCertificateChecking()() ` Returns the certificate being checked. |
| ` https://developer.android.com/reference/java/util/Date` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getDateAndTime()() ` Returns the dateAndTime criterion. |
| ` https://developer.android.com/reference/java/util/Collection<https://developer.android.com/reference/java/lang/Object>` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuerNames()() ` Returns a copy of the issuerNames criterion. |
| ` https://developer.android.com/reference/java/util/Collection<https://developer.android.com/reference/javax/security/auth/x500/X500Principal>` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuers()() ` Returns the issuerNames criterion. |
| ` https://developer.android.com/reference/java/math/BigInteger` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getMaxCRL()() ` Returns the maxCRLNumber criterion. |
| ` https://developer.android.com/reference/java/math/BigInteger` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#getMinCRL()() ` Returns the minCRLNumber criterion. |
| ` boolean` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#match(java.security.cert.CRL)(https://developer.android.com/reference/java/security/cert/CRL crl) ` Decides whether a `CRL` should be selected. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setCertificateChecking(java.security.cert.X509Certificate)(https://developer.android.com/reference/java/security/cert/X509Certificate cert) ` Sets the certificate being checked. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setDateAndTime(java.util.Date)(https://developer.android.com/reference/java/util/Date dateAndTime) ` Sets the dateAndTime criterion. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuerNames(java.util.Collection<?>)(https://developer.android.com/reference/java/util/Collection<?> names) ` **Note:** use [setIssuers(Collection)](https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)) instead or only specify the byte array form of distinguished names when using this method. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)(https://developer.android.com/reference/java/util/Collection<https://developer.android.com/reference/javax/security/auth/x500/X500Principal> issuers) ` Sets the issuerNames criterion. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setMaxCRLNumber(java.math.BigInteger)(https://developer.android.com/reference/java/math/BigInteger maxCRL) ` Sets the maxCRLNumber criterion. |
| ` void` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#setMinCRLNumber(java.math.BigInteger)(https://developer.android.com/reference/java/math/BigInteger minCRL) ` Sets the minCRLNumber criterion. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/security/cert/X509CRLSelector#toString()() ` Returns a printable representation of the `X509CRLSelector`. |

| ### Inherited methods |
|---|---|
| From class ` https://developer.android.com/reference/java/lang/Object ` |---|---| | ` https://developer.android.com/reference/java/lang/Object` | ` https://developer.android.com/reference/java/lang/Object#clone()() ` Creates and returns a copy of this object. | | ` boolean` | ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) ` Indicates whether some other object is "equal to" this one. | | ` void` | ` https://developer.android.com/reference/java/lang/Object#finalize()() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final https://developer.android.com/reference/java/lang/Class<?>` | ` https://developer.android.com/reference/java/lang/Object#getClass()() ` Returns the runtime class of this `Object`. | | ` int` | ` https://developer.android.com/reference/java/lang/Object#hashCode()() ` Returns a hash code value for the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notify()() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notifyAll()() ` Wakes up all threads that are waiting on this object's monitor. | | ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/lang/Object#toString()() ` Returns a string representation of the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait()() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||
| From interface ` https://developer.android.com/reference/java/security/cert/CRLSelector ` |---|---| | ` 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 constructors

### X509CRLSelector

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

```
public X509CRLSelector ()
```

Creates an `X509CRLSelector`. Initially, no criteria are set
so any `X509CRL` will match.

<br />

## Public methods

### addIssuer

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

```
public void addIssuer (X500Principal issuer)
```

Adds a name to the issuerNames criterion. The issuer distinguished
name in the `X509CRL` must match at least one of the specified
distinguished names.


This method allows the caller to add a name to the set of issuer names
which `X509CRLs` may contain. The specified name is added to
any previous value for the issuerNames criterion.
If the specified name is a duplicate, it may be ignored.

<br />

| Parameters ||
|---|---|
| `issuer` | `X500Principal`: the issuer as X500Principal <br /> |

### addIssuerName

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

```
public void addIssuerName (byte[] name)
```

Adds a name to the issuerNames criterion. The issuer distinguished
name in the `X509CRL` must match at least one of the specified
distinguished names.


This method allows the caller to add a name to the set of issuer names
which `X509CRLs` may contain. The specified name is added to
any previous value for the issuerNames criterion. If the specified name
is a duplicate, it may be ignored.
If a name is specified as a byte array, it should contain a single DER
encoded distinguished name, as defined in X.501. The ASN.1 notation for
this structure is as follows.


The name is provided as a byte array. This byte array should contain
a single DER encoded distinguished name, as defined in X.501. The ASN.1
notation for this structure appears in the documentation for
`https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuerNames(java.util.Collection<?>)`.


Note that the byte array supplied here is cloned to protect against
subsequent modifications.

<br />

| Parameters ||
|---|---|
| `name` | `byte`: a byte array containing the name in ASN.1 DER encoded form <br /> |

| Throws ||
|---|---|
| `https://developer.android.com/reference/java/io/IOException` | if a parsing error occurs |

### addIssuerName

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

```
public void addIssuerName (String name)
```

**Denigrated** , use
[addIssuer(X500Principal)](https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuer(javax.security.auth.x500.X500Principal)) or
[addIssuerName(byte\[\])](https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuerName(byte[])) instead. This method should not be
relied on as it can fail to match some CRLs because of a loss of
encoding information in the RFC 2253 String form of some distinguished
names.


Adds a name to the issuerNames criterion. The issuer distinguished
name in the `X509CRL` must match at least one of the specified
distinguished names.


This method allows the caller to add a name to the set of issuer names
which `X509CRLs` may contain. The specified name is added to
any previous value for the issuerNames criterion.
If the specified name is a duplicate, it may be ignored.

<br />

| Parameters ||
|---|---|
| `name` | `String`: the name in RFC 2253 form <br /> |

| Throws ||
|---|---|
| `https://developer.android.com/reference/java/io/IOException` | if a parsing error occurs |

### clone

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

```
public Object clone ()
```

Returns a copy of this object.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/Object` | the copy <br /> |

### getCertificateChecking

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

```
public X509Certificate getCertificateChecking ()
```

Returns the certificate being checked. This is not a criterion. Rather,
it is optional information that may help a `CertStore`
find CRLs that would be relevant when checking revocation for the
specified certificate. If the value returned is `null`, then
no such optional information is provided.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/security/cert/X509Certificate` | the certificate being checked (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setCertificateChecking(java.security.cert.X509Certificate)`

### getDateAndTime

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

```
public Date getDateAndTime ()
```

Returns the dateAndTime criterion. The specified date must be
equal to or later than the value of the thisUpdate component
of the `X509CRL` and earlier than the value of the
nextUpdate component. There is no match if the
`X509CRL` does not contain a nextUpdate component.
If `null`, no dateAndTime check will be done.


Note that the `Date` returned is cloned to protect against
subsequent modifications.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/Date` | the `Date` to match against (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setDateAndTime(java.util.Date)`

### getIssuerNames

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

```
public Collection<Object> getIssuerNames ()
```

Returns a copy of the issuerNames criterion. The issuer distinguished
name in the `X509CRL` must match at least one of the specified
distinguished names. If the value returned is `null`, any
issuer distinguished name will do.


If the value returned is not `null`, it is a
`Collection` of names. Each name is a `String`
or a byte array representing a distinguished name (in RFC 2253 or
ASN.1 DER encoded form, respectively). Note that the
`Collection` returned may contain duplicate names.


If a name is specified as a byte array, it should contain a single DER
encoded distinguished name, as defined in X.501. The ASN.1 notation for
this structure is given in the documentation for
`https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuerNames(java.util.Collection<?>)`.


Note that a deep copy is performed on the `Collection` to
protect against subsequent modifications.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/Collection<https://developer.android.com/reference/java/lang/Object>` | a `Collection` of names (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuerNames(java.util.Collection<?>)`

### getIssuers

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

```
public Collection<X500Principal> getIssuers ()
```

Returns the issuerNames criterion. The issuer distinguished
name in the `X509CRL` must match at least one of the specified
distinguished names. If the value returned is `null`, any
issuer distinguished name will do.


If the value returned is not `null`, it is a
unmodifiable `Collection` of `X500Principal`s.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/Collection<https://developer.android.com/reference/javax/security/auth/x500/X500Principal>` | an unmodifiable `Collection` of names (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)`

### getMaxCRL

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

```
public BigInteger getMaxCRL ()
```

Returns the maxCRLNumber criterion. The `X509CRL` must have a
CRL number extension whose value is less than or equal to the
specified value. If `null`, no maxCRLNumber check will be
done.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/math/BigInteger` | the maximum CRL number accepted (or `null`) <br /> |

### getMinCRL

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

```
public BigInteger getMinCRL ()
```

Returns the minCRLNumber criterion. The `X509CRL` must have a
CRL number extension whose value is greater than or equal to the
specified value. If `null`, no minCRLNumber check will be done.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/math/BigInteger` | the minimum CRL number accepted (or `null`) <br /> |

### match

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

```
public 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 /> |

### setCertificateChecking

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

```
public void setCertificateChecking (X509Certificate cert)
```

Sets the certificate being checked. This is not a criterion. Rather,
it is optional information that may help a `CertStore`
find CRLs that would be relevant when checking revocation for the
specified certificate. If `null` is specified, then no
such optional information is provided.

<br />

| Parameters ||
|---|---|
| `cert` | `X509Certificate`: the `X509Certificate` being checked (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#getCertificateChecking()`

### setDateAndTime

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

```
public void setDateAndTime (Date dateAndTime)
```

Sets the dateAndTime criterion. The specified date must be
equal to or later than the value of the thisUpdate component
of the `X509CRL` and earlier than the value of the
nextUpdate component. There is no match if the `X509CRL`
does not contain a nextUpdate component.
If `null`, no dateAndTime check will be done.


Note that the `Date` supplied here is cloned to protect
against subsequent modifications.

<br />

| Parameters ||
|---|---|
| `dateAndTime` | `Date`: the `Date` to match against (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#getDateAndTime()`

### setIssuerNames

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

```
public void setIssuerNames (Collection<?> names)
```

**Note:** use [setIssuers(Collection)](https://developer.android.com/reference/java/security/cert/X509CRLSelector#setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)) instead
or only specify the byte array form of distinguished names when using
this method. See `https://developer.android.com/reference/java/security/cert/X509CRLSelector#addIssuerName(java.lang.String)` for more information.


Sets the issuerNames criterion. The issuer distinguished name in the
`X509CRL` must match at least one of the specified
distinguished names. If `null`, any issuer distinguished name
will do.


This method allows the caller to specify, with a single method call,
the complete set of issuer names which `X509CRLs` may contain.
The specified value replaces the previous value for the issuerNames
criterion.


The `names` parameter (if not `null`) is a
`Collection` of names. Each name is a `String`
or a byte array representing a distinguished name (in
[RFC 2253](http://www.ietf.org/rfc/rfc2253.txt) or
ASN.1 DER encoded form, respectively). If `null` is supplied
as the value for this argument, no issuerNames check will be performed.


Note that the `names` parameter can contain duplicate
distinguished names, but they may be removed from the
`Collection` of names returned by the
`https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuerNames()` method.


If a name is specified as a byte array, it should contain a single DER
encoded distinguished name, as defined in X.501. The ASN.1 notation for
this structure is as follows.

    Name ::= CHOICE {
      RDNSequence }

    RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

    RelativeDistinguishedName ::=
      SET SIZE (1 .. MAX) OF AttributeTypeAndValue

    AttributeTypeAndValue ::= SEQUENCE {
      type     AttributeType,
      value    AttributeValue }

    AttributeType ::= OBJECT IDENTIFIER

    AttributeValue ::= ANY DEFINED BY AttributeType
    ....
    DirectoryString ::= CHOICE {
          teletexString           TeletexString (SIZE (1..MAX)),
          printableString         PrintableString (SIZE (1..MAX)),
          universalString         UniversalString (SIZE (1..MAX)),
          utf8String              UTF8String (SIZE (1.. MAX)),
          bmpString               BMPString (SIZE (1..MAX)) }


Note that a deep copy is performed on the `Collection` to
protect against subsequent modifications.

<br />

| Parameters ||
|---|---|
| `names` | `Collection`: a `Collection` of names (or `null`) <br /> |

| Throws ||
|---|---|
| `https://developer.android.com/reference/java/io/IOException` | if a parsing error occurs |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuerNames()`

### setIssuers

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

```
public void setIssuers (Collection<X500Principal> issuers)
```

Sets the issuerNames criterion. The issuer distinguished name in the
`X509CRL` must match at least one of the specified
distinguished names. If `null`, any issuer distinguished name
will do.


This method allows the caller to specify, with a single method call,
the complete set of issuer names which `X509CRLs` may contain.
The specified value replaces the previous value for the issuerNames
criterion.


The `names` parameter (if not `null`) is a
`Collection` of `X500Principal`s.


Note that the `names` parameter can contain duplicate
distinguished names, but they may be removed from the
`Collection` of names returned by the
`https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuers()` method.


Note that a copy is performed on the `Collection` to
protect against subsequent modifications.

<br />

| Parameters ||
|---|---|
| `issuers` | `Collection`: a `Collection` of X500Principals (or `null`) <br /> |

**See also:**

- `https://developer.android.com/reference/java/security/cert/X509CRLSelector#getIssuers()`

### setMaxCRLNumber

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

```
public void setMaxCRLNumber (BigInteger maxCRL)
```

Sets the maxCRLNumber criterion. The `X509CRL` must have a
CRL number extension whose value is less than or equal to the
specified value. If `null`, no maxCRLNumber check will be
done.

<br />

| Parameters ||
|---|---|
| `maxCRL` | `BigInteger`: the maximum CRL number accepted (or `null`) <br /> |

### setMinCRLNumber

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

```
public void setMinCRLNumber (BigInteger minCRL)
```

Sets the minCRLNumber criterion. The `X509CRL` must have a
CRL number extension whose value is greater than or equal to the
specified value. If `null`, no minCRLNumber check will be
done.

<br />

| Parameters ||
|---|---|
| `minCRL` | `BigInteger`: the minimum CRL number accepted (or `null`) <br /> |

### toString

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

```
public String toString ()
```

Returns a printable representation of the `X509CRLSelector`.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | a `String` describing the contents of the `X509CRLSelector`. <br /> |