Skip to content

Most visited

Recently visited

navigation
Added in API level 1

X509CRLEntry

public abstract class X509CRLEntry
extends Object implements X509Extension

java.lang.Object
   ↳ java.security.cert.X509CRLEntry


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.

Inherited methods

From class java.lang.Object
From interface java.security.cert.X509Extension

Public constructors

X509CRLEntry

Added in API level 1
X509CRLEntry ()

Creates a new X509CRLEntry instance.

Public methods

equals

Added in API level 1
boolean equals (Object other)

Returns whether the specified object equals to this instance.

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

getCertificateIssuer

Added in API level 1
X500Principal getCertificateIssuer ()

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.

getEncoded

Added in API level 1
byte[] getEncoded ()

Returns this entry in ASN.1 DER encoded form.

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

getRevocationDate

Added in API level 1
Date getRevocationDate ()

Returns the date when the certificate is revoked.

Returns
Date the date when the certificate is revoked.

getSerialNumber

Added in API level 1
BigInteger getSerialNumber ()

Returns the serial number of the revoked certificate.

Returns
BigInteger the serial number of the revoked certificate.

hasExtensions

Added in API level 1
boolean hasExtensions ()

Returns whether this CRL entry has extensions.

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

hashCode

Added in API level 1
int hashCode ()

Returns the hashcode of this instance.

Returns
int the hashcode of this instance.

toString

Added in API level 1
String toString ()

Returns a string representation of this instance.

Returns
String a string representation of this instance.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.