public class OpenSSLX509CRLEntry extends X509CRLEntry
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as CRITICAL, that this
implementation manages.
|
byte[] |
getEncoded()
Returns this entry in ASN.1 DER encoded form.
|
byte[] |
getExtensionValue(String oid)
Returns the extension value as DER-encoded OCTET string for the specified
OID.
|
Set<String> |
getNonCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that
this implementation manages.
|
Date |
getRevocationDate()
Returns the date when the certificate is revoked.
|
BigInteger |
getSerialNumber()
Returns the serial number of the revoked certificate.
|
boolean |
hasExtensions()
Returns whether this CRL entry has extensions.
|
boolean |
hasUnsupportedCriticalExtension()
Returns whether this instance has an extension marked as CRITICAL that it
cannot support.
|
String |
toString()
Returns a string representation of this instance.
|
equals, getCertificateIssuer, getRevocationReason, hashCodepublic Set<String> getCriticalExtensionOIDs()
X509Extensionnull if no extensions are
present.public byte[] getExtensionValue(String oid)
X509Extensionoid - the object identifier to get the extension value for.null
if no extension for the specified OID can be found.public Set<String> getNonCriticalExtensionOIDs()
X509Extensionnull if no
extensions are present.public boolean hasUnsupportedCriticalExtension()
X509Extensiontrue if an unsupported CRITICAL extension is present,
false otherwise.public byte[] getEncoded()
throws CRLException
X509CRLEntrygetEncoded in class X509CRLEntryCRLException - if encoding fails.public BigInteger getSerialNumber()
X509CRLEntrygetSerialNumber in class X509CRLEntrypublic Date getRevocationDate()
X509CRLEntrygetRevocationDate in class X509CRLEntrypublic boolean hasExtensions()
X509CRLEntryhasExtensions in class X509CRLEntrytrue is this CRL entry has extensions, otherwise false.public String toString()
X509CRLEntrytoString in class X509CRLEntry