java.security.cert
Class CRL
java.lang.Object
|
+--java.security.cert.CRL
public abstract class
CRLextends
ObjectCertificate Revocation List class for managing CRLs that
have different formats but the same general use. They
all serve as lists of revoked certificates and can
be queried for a given certificate.
Specialized CRLs extend this class.
Since:Author:CRL
protected CRL(java.lang.String type)
Creates a new CRL for the specified type. An example
is "X.509".
Parameters:
getType
public final String getType()
Returns the CRL type.
Returns:
- a string representing the CRL type
isRevoked
public boolean isRevoked(java.security.cert.Certificate cert)
Determines whether or not the specified Certificate
is revoked.
Parameters:
Returns:
- true if the certificate is revoked,
false otherwise.
toString
public String toString()
Returns a string representing the CRL.
Returns:
- a string representing the CRL.