Constructs a revoked certificate entry using the given serial number and revocation date.
Constructs a revoked certificate entry using the given serial number, revocation date and the entry extensions.
Unmarshals a revoked certificate from its encoded form.
Unmarshals a revoked certificate from its encoded form.
Returns all extensions for this entry in a map @return the extension map, can be empty, but not null
Encodes the revoked certificate to an output stream.
Gets a Set of the extension(s) marked CRITICAL in this X509CRLEntry. In the returned set, each extension is represented by its OID string.
Returns the ASN.1 DER-encoded form of this CRL Entry, which corresponds to the inner SEQUENCE.
get an extension
Gets the DER encoded OCTET string for the extension value (<em>extnValue</em>) identified by the passed in oid string. The <code>oid</code> string is represented by a set of positive whole number separated by ".", that means,<br> <positive whole number>.<positive whole number>.<positive whole number>.<...>
Gets a Set of the extension(s) marked NON-CRITICAL in this X509CRLEntry. In the returned set, each extension is represented by its OID string.
get Reason Code from CRL entry.
Gets the revocation date from this X509CRLEntry, the <em>revocationDate</em>.
This method is the overridden implementation of the getRevocationReason method in X509CRLEntry. It is better performance-wise since it returns cached values.
Gets the serial number from this X509CRLEntry, i.e. the <em>userCertificate</em>.
Returns true if this revoked certificate entry has extensions, otherwise false.
Return true if a critical extension is found that is not supported, otherwise return false.
Returns a printable string of this revoked certificate.
Utility method to convert an arbitrary instance of X509CRLEntry to a X509CRLEntryImpl. Does a cast if possible, otherwise reparses the encoding.
Compares this CRL entry for equality with the given object. If the {@code other} object is an {@code instanceof} {@code X509CRLEntry}, then its encoded form (the inner SEQUENCE) is retrieved and compared with the encoded form of this CRL entry.
Returns a hashcode value for this CRL entry from its encoded form.
Returns the ASN.1 DER-encoded form of this CRL Entry, that is the inner SEQUENCE.
Gets the serial number from this X509CRLEntry, the <em>userCertificate</em>.
Get the issuer of the X509Certificate described by this entry. If the certificate issuer is also the CRL issuer, this method returns null.
Gets the revocation date from this X509CRLEntry, the <em>revocationDate</em>.
Returns true if this CRL entry has extensions.
Returns the reason the certificate has been revoked, as specified in the Reason Code extension of this CRL entry.
This static method is the default implementation of the getRevocationReason method in X509CRLEntry.
<p>Abstract class for a revoked certificate in a CRL. This class is for each entry in the <code>revokedCertificates</code>, so it deals with the inner <em>SEQUENCE</em>. The ASN.1 definition for this is: <pre> 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 } </pre>
@author Hemma Prafullchandra