public abstract class RevokedCertificate
extends 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
} 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
}
X509CRL| Constructor and Description |
|---|
RevokedCertificate() |
| Modifier and Type | Method and Description |
|---|---|
abstract CRLExtensions |
getExtensions() |
abstract java.util.Date |
getRevocationDate()
Gets the revocation date for this RevokedCertificate,
the revocationDate.
|
abstract java.math.BigInteger |
getSerialNumber()
Gets the serial number for this RevokedCertificate,
the userCertificate.
|
abstract boolean |
hasExtensions()
Returns true if this revoked certificate entry has
extensions.
|
abstract java.lang.String |
toString()
Returns a string representation of this revoked certificate.
|
equals, getCertificateIssuer, getEncoded, getRevocationReason, hashCodepublic abstract java.math.BigInteger getSerialNumber()
getSerialNumber in class java.security.cert.X509CRLEntrypublic abstract java.util.Date getRevocationDate()
getRevocationDate in class java.security.cert.X509CRLEntrypublic abstract boolean hasExtensions()
hasExtensions in class java.security.cert.X509CRLEntrypublic abstract java.lang.String toString()
toString in class java.security.cert.X509CRLEntrypublic abstract CRLExtensions getExtensions()