Class X509CRLEntry

    • Constructor Detail

      • X509CRLEntry

        public X509CRLEntry()
        Creates a new X509CRLEntry instance.
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Returns whether the specified object equals to this instance.
        Overrides:
        equals in class Object
        Parameters:
        other - the object to compare.
        Returns:
        true if the specified object equals to this instance, otherwise false.
        See Also:
        Object.hashCode()
      • getEncoded

        public abstract byte[] getEncoded()
                                   throws CRLException
        Returns this entry in ASN.1 DER encoded form.
        Returns:
        the encoded form of this entry.
        Throws:
        CRLException - if encoding fails.
      • getSerialNumber

        public abstract BigInteger getSerialNumber()
        Returns the serial number of the revoked certificate.
        Returns:
        the serial number of the revoked certificate.
      • getCertificateIssuer

        public X500Principal getCertificateIssuer()
        Returns the issuer of the revoked certificate.
        Returns:
        the issuer of the revoked certificate, or null if the issuer is equal to the CRL issuer.
      • getRevocationDate

        public abstract Date getRevocationDate()
        Returns the date when the certificate is revoked.
        Returns:
        the date when the certificate is revoked.
      • hasExtensions

        public abstract boolean hasExtensions()
        Returns whether this CRL entry has extensions.
        Returns:
        true is this CRL entry has extensions, otherwise false.
      • toString

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

        public CRLReason getRevocationReason()
        Returns the reason this CRL entry was revoked. If the implementation doesn't support reasons, this will return null.
        Since:
        1.7