Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security.cert

Class X509CRLEntry

java.lang.Object
|
+--java.security.cert.X509CRLEntry

All Implemented Interfaces:

X509Extension


public abstract class X509CRLEntry

extends Object

implements X509Extension

Abstract class for entries in the CRL (Certificate Revocation List). The ASN.1 definition for revokedCertificates is revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, shall be v2 } OPTIONAL, CertificateSerialNumber ::= INTEGER Time ::= CHOICE { utcTime UTCTime, generalTime GeneralizedTime } Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnID OBJECT IDENTIFIER, critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING } For more information consult rfc2459.

Since:Author:

Constructor Summary

X509CRLEntry()

Creates a new X509CRLEntry

Method Summary

booleanequals(java.lang.Object other)

Compares this X509CRLEntry to other.
byte[]getEncoded()

Gets the DER ASN.1 encoded format for this CRL Entry, the inner SEQUENCE.
java.util.DategetRevocationDate()

Gets the revocation date in revocationDate for this X509CRLEntry.
java.math.BigIntegergetSerialNumber()

Gets the serial number for userCertificate in this X509CRLEntry.
booleanhasExtensions()

Checks if this X509CRLEntry has extensions.
inthashCode()

Returns a hash code for this X509CRLEntry in its encoded form.
java.lang.StringtoString()

Returns a string that represents this X509CRLEntry.

Constructor Details

X509CRLEntry

public X509CRLEntry()

Creates a new X509CRLEntry


Method Details

equals

public boolean equals(java.lang.Object other)

Compares this X509CRLEntry to other. It checks if the object if instanceOf X509CRLEntry and then checks if the encoded form( the inner SEQUENCE) matches.

Parameters:

Returns:


getEncoded

public byte[] getEncoded()

Gets the DER ASN.1 encoded format for this CRL Entry, the inner SEQUENCE.

Returns:

Throws:


getRevocationDate

public Date getRevocationDate()

Gets the revocation date in revocationDate for this X509CRLEntry.

Returns:


getSerialNumber

public BigInteger getSerialNumber()

Gets the serial number for userCertificate in this X509CRLEntry.

Returns:


hasExtensions

public boolean hasExtensions()

Checks if this X509CRLEntry has extensions.

Returns:


hashCode

public int hashCode()

Returns a hash code for this X509CRLEntry in its encoded form.

Returns:


toString

public String toString()

Returns a string that represents this X509CRLEntry.

Returns: