java.security.cert
Class CRL

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.security.cert.CRL
Direct Known Subclasses:
X509CRL sample code for java.security.cert.X509CRL definition code for java.security.cert.X509CRL

public abstract class CRL
extends Object sample code for java.lang.Object definition code for java.lang.Object

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 or not they list a given certificate.

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

Since:
1.2
See Also:
X509CRL sample code for java.security.cert.X509CRL definition code for java.security.cert.X509CRL , CertificateFactory sample code for java.security.cert.CertificateFactory definition code for java.security.cert.CertificateFactory

Constructor Summary
protected CRL sample code for java.security.cert.CRL.CRL(java.lang.String) definition code for java.security.cert.CRL.CRL(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  type)
          Creates a CRL of the specified type.
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String getType sample code for java.security.cert.CRL.getType() definition code for java.security.cert.CRL.getType() ()
          Returns the type of this CRL.
abstract  boolean isRevoked sample code for java.security.cert.CRL.isRevoked(java.security.cert.Certificate) definition code for java.security.cert.CRL.isRevoked(java.security.cert.Certificate) (Certificate sample code for java.security.cert.Certificate definition code for java.security.cert.Certificate  cert)
          Checks whether the given certificate is on this CRL.
abstract  String sample code for java.lang.String definition code for java.lang.String toString sample code for java.security.cert.CRL.toString() definition code for java.security.cert.CRL.toString() ()
          Returns a string representation of this CRL.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

CRL sample code for java.security.cert.CRL(java.lang.String) definition code for java.security.cert.CRL(java.lang.String)

protected CRL(String sample code for java.lang.String definition code for java.lang.String  type)
Creates a CRL of the specified type.

Parameters:
type - the standard name of the CRL type. See Appendix A in the Java Cryptography Architecture API Specification & Reference for information about standard CRL types.
Method Detail

getType sample code for java.security.cert.CRL.getType() definition code for java.security.cert.CRL.getType()

public final String sample code for java.lang.String definition code for java.lang.String  getType()
Returns the type of this CRL.

Returns:
the type of this CRL.

toString sample code for java.security.cert.CRL.toString() definition code for java.security.cert.CRL.toString()

public abstract String sample code for java.lang.String definition code for java.lang.String  toString()
Returns a string representation of this CRL.

Overrides:
toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a string representation of this CRL.

isRevoked sample code for java.security.cert.CRL.isRevoked(java.security.cert.Certificate) definition code for java.security.cert.CRL.isRevoked(java.security.cert.Certificate)

public abstract boolean isRevoked(Certificate sample code for java.security.cert.Certificate definition code for java.security.cert.Certificate  cert)
Checks whether the given certificate is on this CRL.

Parameters:
cert - the certificate to check for.
Returns:
true if the given certificate is on this CRL, false otherwise.