Skip to content

Most visited

Recently visited

navigation
Added in API level 1

CRL

public abstract class CRL
extends Object

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


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.

See also:

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.

Inherited methods

From class java.lang.Object

Protected constructors

CRL

Added in API level 1
CRL (String type)

Creates a new certificate revocation list of the specified type.

Parameters
type String: the type for the CRL.

Public methods

getType

Added in API level 1
String getType ()

Returns the type of this CRL.

Returns
String the type of this CRL.

isRevoked

Added in API level 1
boolean isRevoked (Certificate cert)

Returns whether the specified certificate is revoked by this CRL.

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

toString

Added in API level 1
String toString ()

Returns the string representation of this instance.

Returns
String the string representation of this instance.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.