Known Direct Subclasses
|
Class Overview
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
}
Summary
Public Methods |
boolean
|
equals(Object other)
Compares this CRL entry for equality with the given
object.
|
X500Principal
|
getCertificateIssuer()
Get the issuer of the X509Certificate described by this entry.
|
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.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
java.security.cert.X509Extension
abstract
Set<String>
|
getCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
abstract
byte[]
|
getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value
(extnValue) identified by the passed-in oid
String.
|
abstract
Set<String>
|
getNonCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
NON-CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
abstract
boolean
|
hasUnsupportedCriticalExtension()
Check if there is a critical extension that is not supported.
|
|
Public Constructors
Public Methods
public
boolean
equals
(Object other)
Compares this CRL entry for equality with the given
object. If the 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.
Parameters
other
| the object to test for equality with this CRL entry. |
Returns
- true iff the encoded forms of the two CRL entries
match, false otherwise.
public
X500Principal
getCertificateIssuer
()
Get the issuer of the X509Certificate described by this entry. If
the certificate issuer is also the CRL issuer, this method returns
null.
This method is used with indirect CRLs. The default implementation
always returns null. Subclasses that wish to support indirect CRLs
should override it.
Returns
- the issuer of the X509Certificate described by this entry
or null if it is issued by the CRL issuer.
public
abstract
byte[]
getEncoded
()
Returns the ASN.1 DER-encoded form of this CRL Entry,
that is the inner SEQUENCE.
Returns
- the encoded form of this certificate
public
abstract
Date
getRevocationDate
()
Gets the revocation date from this X509CRLEntry,
the revocationDate.
public
abstract
BigInteger
getSerialNumber
()
Gets the serial number from this X509CRLEntry,
the userCertificate.
public
abstract
boolean
hasExtensions
()
Returns true if this CRL entry has extensions.
Returns
- true if this entry has extensions, false otherwise.
public
int
hashCode
()
Returns a hashcode value for this CRL entry from its
encoded form.
public
abstract
String
toString
()
Returns a string representation of this CRL entry.
Returns
- a string representation of this CRL entry.