|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.cert.X509CRLEntry
public abstract class X509CRLEntry
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.
Constructor Summary | |
---|---|
X509CRLEntry()
Creates a new X509CRLEntry |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compares this X509CRLEntry to other. |
abstract byte[] |
getEncoded()
Gets the DER ASN.1 encoded format for this CRL Entry, the inner SEQUENCE. |
abstract Date |
getRevocationDate()
Gets the revocation date in revocationDate for this X509CRLEntry. |
abstract BigInteger |
getSerialNumber()
Gets the serial number for userCertificate in this X509CRLEntry. |
abstract boolean |
hasExtensions()
Checks if this X509CRLEntry has extensions. |
int |
hashCode()
Returns a hash code for this X509CRLEntry in its encoded form. |
abstract String |
toString()
Returns a string that represents this X509CRLEntry. |
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)
equals
in class Object
other
- An Object to test for equality
Object.hashCode()
public int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public abstract byte[] getEncoded() throws CRLException
CRLException
- if an error occurspublic abstract BigInteger getSerialNumber()
public abstract Date getRevocationDate()
public abstract boolean hasExtensions()
public abstract String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |