APIdia Launch Partner
Top Description Fields Constructors Methods
java.security.cert

public abstract Class CRL

extends Object
Class Inheritance
Known Direct Subclasses
java.security.cert.X509CRL

This class is an abstraction of certificate revocation lists (CRLs) that have different formats but important common uses. For example, all CRLs share the functionality of listing revoked certificates, and can be queried on whether they list a given certificate.

Specialized CRL types can be defined by subclassing off of this abstract class.

Author
Hemma Prafullchandra
Since
1.2
See Also
X509CRL, CertificateFactory

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
protected
CRL(String
the standard name of the CRL type. See the Java Security Standard Algorithm Names document for information about standard CRL types.
type
)

Creates a CRL of the specified type.

Method Summary

Modifier and TypeMethod and Description
public final String

Returns:

the type of this CRL.
getType
()

Returns the type of this CRL.

public abstract boolean

Returns:

true if the given certificate is on this CRL, false otherwise.
isRevoked
(Certificate
the certificate to check for.
cert
)

Checks whether the given certificate is on this CRL.

public abstract String

Returns:

a string representation of this CRL.
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of this CRL.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

typeback to summary
private final String type

Constructor Detail

CRLback to summary
protected CRL(String type)

Creates a CRL of the specified type.

Parameters
type:String

the standard name of the CRL type. See the Java Security Standard Algorithm Names document for information about standard CRL types.

External Specification
Java Security Standard Algorithm Names

Method Detail

getTypeback to summary
public final String getType()

Returns the type of this CRL.

Returns:String

the type of this CRL.

isRevokedback to summary
public abstract boolean isRevoked(Certificate cert)

Checks whether the given certificate is on this CRL.

Parameters
cert:Certificate

the certificate to check for.

Returns:boolean

true if the given certificate is on this CRL, false otherwise.

toStringback to summary
public abstract String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this CRL.

Returns:String

a string representation of this CRL.