public abstract class

X509CRLEntry

extends Object
implements X509Extension
java.lang.Object
   ↳ java.security.cert.X509CRLEntry

Class Overview

Abstract base class for entries in a certificate revocation list (CRL).

See Also

Summary

Public Constructors
X509CRLEntry()
Creates a new X509CRLEntry instance.
Public Methods
boolean equals(Object other)
Returns whether the specified object equals to this instance.
X500Principal getCertificateIssuer()
Returns the issuer of the revoked certificate.
abstract byte[] getEncoded()
Returns this entry in ASN.1 DER encoded form.
abstract Date getRevocationDate()
Returns the date when the certificate is revoked.
abstract BigInteger getSerialNumber()
Returns the serial number of the revoked certificate.
abstract boolean hasExtensions()
Returns whether this CRL entry has extensions.
int hashCode()
Returns the hashcode of this instance.
abstract String toString()
Returns a string representation of this instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.cert.X509Extension

Public Constructors

public X509CRLEntry ()

Creates a new X509CRLEntry instance.

Public Methods

public boolean equals (Object other)

Returns whether the specified object equals to this instance.

Parameters
other the object to compare.
Returns
  • true if the specified object equals to this instance, otherwise false.

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.

public abstract byte[] getEncoded ()

Returns this entry in ASN.1 DER encoded form.

Returns
  • the encoded form of this entry.
Throws
CRLException if encoding fails.

public abstract Date getRevocationDate ()

Returns the date when the certificate is revoked.

Returns
  • the date when the certificate is revoked.

public abstract BigInteger getSerialNumber ()

Returns the serial number of the revoked certificate.

Returns
  • the serial number of the revoked certificate.

public abstract boolean hasExtensions ()

Returns whether this CRL entry has extensions.

Returns
  • true is this CRL entry has extensions, otherwise false.

public int hashCode ()

Returns the hashcode of this instance.

Returns
  • the hashcode of this instance.

public abstract String toString ()

Returns a string representation of this instance.

Returns
  • a string representation of this instance.