Name

CRL

Synopsis

This abstract class represents a certificate revocation list (CRL). A CRL is an object issued by a certificate authority (or other certificate signer) that lists certificates that have been revoked, meaning that they are now invalid and should be rejected. Use a CertificateFactory to parse a CRL from a byte stream. Use the isRevoked( ) method to test whether a specified Certificate is listed on the CRL. Note that type-specific CRL subclasses, such as X509CRL, may provide access to substantially more information about the revocation list.

public abstract class CRL {
// Protected Constructors
     protected CRL(String type);  
// Public Instance Methods
     public final String getType( );  
     public abstract boolean isRevoked(java.security.cert.Certificate cert);  
// Public Methods Overriding Object
     public abstract String toString( );  
}

Subclasses

X509CRL

Passed To

CRLSelector.match( ), X509CRLSelector.match( )

Returned By

CertificateFactory.generateCRL( ), CertificateFactorySpi.engineGenerateCRL( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.