Class RevokedCertificate
- java.lang.Object
-
- java.security.cert.X509CRLEntry
-
- org.mozilla.jss.netscape.security.x509.RevokedCertificate
-
- All Implemented Interfaces:
java.security.cert.X509Extension
- Direct Known Subclasses:
RevokedCertImpl
public abstract class RevokedCertificate extends java.security.cert.X509CRLEntryAbstract 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
-
-
Constructor Summary
Constructors Constructor Description RevokedCertificate()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CRLExtensionsgetExtensions()abstract java.util.DategetRevocationDate()Gets the revocation date for this RevokedCertificate, the revocationDate.abstract java.math.BigIntegergetSerialNumber()Gets the serial number for this RevokedCertificate, the userCertificate.abstract booleanhasExtensions()Returns true if this revoked certificate entry has extensions.abstract java.lang.StringtoString()Returns a string representation of this revoked certificate.-
Methods inherited from class java.security.cert.X509CRLEntry
equals, getCertificateIssuer, getEncoded, getRevocationReason, hashCode
-
-
-
-
Method Detail
-
getSerialNumber
public abstract java.math.BigInteger getSerialNumber()
Gets the serial number for this RevokedCertificate, the userCertificate.- Specified by:
getSerialNumberin classjava.security.cert.X509CRLEntry- Returns:
- the serial number.
-
getRevocationDate
public abstract java.util.Date getRevocationDate()
Gets the revocation date for this RevokedCertificate, the revocationDate.- Specified by:
getRevocationDatein classjava.security.cert.X509CRLEntry- Returns:
- the revocation date.
-
hasExtensions
public abstract boolean hasExtensions()
Returns true if this revoked certificate entry has extensions.- Specified by:
hasExtensionsin classjava.security.cert.X509CRLEntry- Returns:
- true if this entry has extensions, false otherwise.
-
toString
public abstract java.lang.String toString()
Returns a string representation of this revoked certificate.- Specified by:
toStringin classjava.security.cert.X509CRLEntry- Returns:
- a string representation of this revoked certificate.
-
getExtensions
public abstract CRLExtensions getExtensions()
-
-