Android APIs
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 ()

Added in API level 1

Creates a new X509CRLEntry instance.

Public Methods

public boolean equals (Object other)

Added in API level 1

Returns whether the specified object equals to this instance.

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

public X500Principal getCertificateIssuer ()

Added in API level 1

Returns the issuer of the revoked certificate.

Returns
X500Principal the issuer of the revoked certificate, or null if the issuer is equal to the CRL issuer.

public abstract byte[] getEncoded ()

Added in API level 1

Returns this entry in ASN.1 DER encoded form.

Returns
byte[] the encoded form of this entry.
Throws
CRLException if encoding fails.

public abstract Date getRevocationDate ()

Added in API level 1

Returns the date when the certificate is revoked.

Returns
Date the date when the certificate is revoked.

public abstract BigInteger getSerialNumber ()

Added in API level 1

Returns the serial number of the revoked certificate.

Returns
BigInteger the serial number of the revoked certificate.

public abstract boolean hasExtensions ()

Added in API level 1

Returns whether this CRL entry has extensions.

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

public int hashCode ()

Added in API level 1

Returns the hashcode of this instance.

Returns
int the hashcode of this instance.

public abstract String toString ()

Added in API level 1

Returns a string representation of this instance.

Returns
String a string representation of this instance.