|
JavaTM 2 Platform Std. Ed. v1.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.cert.X509CRLEntry
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 } OPTIONALCertificateSerialNumber ::= 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 }
X509CRL
,
X509Extension
Constructor Summary | |
X509CRLEntry()
|
Method Summary | |
boolean |
equals(Object other)
Compares this CRL entry for equality with the given object. |
abstract byte[] |
getEncoded()
Returns the ASN.1 DER-encoded form of this CRL Entry, that is the inner SEQUENCE. |
abstract Date |
getRevocationDate()
Gets the revocation date from this X509CRLEntry, the revocationDate. |
abstract BigInteger |
getSerialNumber()
Gets the serial number from this X509CRLEntry, the userCertificate. |
abstract boolean |
hasExtensions()
Returns true if this CRL entry has extensions. |
int |
hashCode()
Returns a hashcode value for this CRL entry from its encoded form. |
abstract String |
toString()
Returns a string representation of this CRL entry. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.cert.X509Extension |
getCriticalExtensionOIDs, getExtensionValue, getNonCriticalExtensionOIDs, hasUnsupportedCriticalExtension |
Constructor Detail |
public X509CRLEntry()
Method Detail |
public boolean equals(Object other)
other
object is an
instanceof
X509CRLEntry
, then
its encoded form (the inner SEQUENCE) is retrieved and compared
with the encoded form of this CRL entry.
equals
in class Object
other
- the object to test for equality with this CRL entry.
Object.hashCode()
,
Hashtable
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
public abstract byte[] getEncoded() throws CRLException
CRLException
- if an encoding error occurs.public abstract BigInteger getSerialNumber()
public abstract Date getRevocationDate()
public abstract boolean hasExtensions()
public abstract String toString()
toString
in class Object
|
JavaTM 2 Platform Std. Ed. v1.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.