Android APIs
public abstract class

CRL

extends Object
java.lang.Object
   ↳ java.security.cert.CRL
Known Direct Subclasses

Class Overview

This class represents Certificate Revocation Lists (CRLs) maintained by a certificate authority. They are used to indicate that a given Certificate has expired and consequently has become invalid.

Summary

Protected Constructors
CRL(String type)
Creates a new certificate revocation list of the specified type.
Public Methods
final String getType()
Returns the type of this CRL.
abstract boolean isRevoked(Certificate cert)
Returns whether the specified certificate is revoked by this CRL.
abstract String toString()
Returns the string representation of this instance.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected CRL (String type)

Added in API level 1

Creates a new certificate revocation list of the specified type.

Parameters
type the type for the CRL.

Public Methods

public final String getType ()

Added in API level 1

Returns the type of this CRL.

Returns
  • the type of this CRL.

public abstract boolean isRevoked (Certificate cert)

Added in API level 1

Returns whether the specified certificate is revoked by this CRL.

Parameters
cert the certificate to check.
Returns
  • true if the certificate is revoked by this CRL, otherwise false.

public abstract String toString ()

Added in API level 1

Returns the string representation of this instance.

Returns
  • the string representation of this instance.