Package java.security.cert
Class CRL
- java.lang.Object
-
- java.security.cert.CRL
-
- Direct Known Subclasses:
X509CRL
public abstract class CRL extends Object
This class represents Certificate Revocation Lists (CRLs) maintained by a certificate authority. They are used to indicate that a given Certificate has expired and consequently has become invalid.- See Also:
CertificateFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the type of this CRL.abstract booleanisRevoked(Certificate cert)Returns whether the specified certificate is revoked by this CRL.abstract StringtoString()Returns the string representation of this instance.
-
-
-
Constructor Detail
-
CRL
protected CRL(String type)
Creates a new certificate revocation list of the specified type.- Parameters:
type- the type for the CRL.
-
-
Method Detail
-
getType
public final String getType()
Returns the type of this CRL.- Returns:
- the type of this CRL.
-
isRevoked
public abstract boolean isRevoked(Certificate cert)
Returns whether the specified certificate is revoked by this CRL.- Parameters:
cert- the certificate to check.- Returns:
trueif the certificate is revoked by this CRL, otherwisefalse.
-
-