Build 1.0_r1(from source)

java.security.cert
Class CRL

java.lang.Object
  extended by java.security.cert.CRL
Direct Known Subclasses:
X509CRL

public abstract class CRL
extends Object

This class represents Certificate Revocation Lists (CRLs). They are used to indicate that a given Certificate has expired already.

See Also:
CertificateFactory

Constructor Summary
protected CRL(String type)
           
 
Method Summary
 String getType()
          Returns the type of this CRL.
abstract  boolean isRevoked(Certificate cert)
          Returns if a given Certificate has been revoked or not.
abstract  String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CRL

protected CRL(String type)
Method Detail

getType

public final String getType()
Returns the type of this CRL.

Returns:
String the type of this CRL.

isRevoked

public abstract boolean isRevoked(Certificate cert)
Returns if a given Certificate has been revoked or not.

Parameters:
cert - Certificate The Certificate to test
Returns:
true if the certificate has been revoked false if the certificate has not been revoked yet

toString

public abstract String toString()
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature