Class 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
    • 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:
        true if the certificate is revoked by this CRL, otherwise false.
      • toString

        public abstract String toString()
        Returns the string representation of this instance.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this instance.