Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.security.cert.RevokedCertificate

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

public abstract class RevokedCertificate
extends Object
implements X509Extension

Abstract class for a revoked certificate in a CRL (Certificate Revocation List). The ASN.1 definition for revokedCertificates is:

 revokedCertificates    SEQUENCE OF SEQUENCE  {
     userCertificate    CertificateSerialNumber,
     revocationDate     ChoiceOfTime,
     crlEntryExtensions Extensions OPTIONAL
                        -- if present, must be v2
 }  OPTIONAL

CertificateSerialNumber ::= INTEGER

Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension

Extension ::= SEQUENCE { extnId OBJECT IDENTIFIER, critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING -- contains a DER encoding of a value -- of the type registered for use with -- the extnId object identifier value }

See Also:
X509CRL

Method Summary
Date  getRevocationDate()
Gets the revocation date for this RevokedCertificate, the revocationDate.
BigInteger  getSerialNumber()
Gets the serial number for this RevokedCertificate, the userCertificate.
boolean  hasExtensions()
Returns true if this revoked certificate entry has extensions.
String  toString()
Returns a string representation of this revoked certificate.
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSerialNumber

public abstract BigInteger getSerialNumber()
Gets the serial number for this RevokedCertificate, the userCertificate.
Returns:
the serial number.

getRevocationDate

public abstract Date getRevocationDate()
Gets the revocation date for this RevokedCertificate, the revocationDate.
Returns:
the revocation date.

hasExtensions

public abstract boolean hasExtensions()
Returns true if this revoked certificate entry has extensions.
Returns:
true if this entry has extensions, false otherwise.

toString

public abstract String toString()
Returns a string representation of this revoked certificate.
Returns:
a string representation of this revoked certificate.
Overrides:
toString in class Object

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.