Package org.conscrypt

Class OpenSSLX509CRLEntry

java.lang.Object
java.security.cert.X509CRLEntry
org.conscrypt.OpenSSLX509CRLEntry
All Implemented Interfaces:
X509Extension

public class OpenSSLX509CRLEntry
extends X509CRLEntry
  • Method Details

    • getCriticalExtensionOIDs

      public Set<String> getCriticalExtensionOIDs()
      Description copied from interface: X509Extension
      Returns the set of OIDs of the extension(s) marked as CRITICAL, that this implementation manages.
      Returns:
      the set of extension OIDs marked as CRITIAL, an empty set if none are marked as CRITICAL, or null if no extensions are present.
    • getExtensionValue

      public byte[] getExtensionValue​(String oid)
      Description copied from interface: X509Extension
      Returns the extension value as DER-encoded OCTET string for the specified OID.
      Parameters:
      oid - the object identifier to get the extension value for.
      Returns:
      the extension value as DER-encoded OCTET string, or null if no extension for the specified OID can be found.
    • getNonCriticalExtensionOIDs

      public Set<String> getNonCriticalExtensionOIDs()
      Description copied from interface: X509Extension
      Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that this implementation manages.
      Returns:
      the set of extension OIDs marked as NON-CRITIAL, an empty set if none are marked as NON-.CRITICAL, or null if no extensions are present.
    • hasUnsupportedCriticalExtension

      public boolean hasUnsupportedCriticalExtension()
      Description copied from interface: X509Extension
      Returns whether this instance has an extension marked as CRITICAL that it cannot support.
      Returns:
      true if an unsupported CRITICAL extension is present, false otherwise.
    • getEncoded

      public byte[] getEncoded() throws CRLException
      Description copied from class: X509CRLEntry
      Returns this entry in ASN.1 DER encoded form.
      Specified by:
      getEncoded in class X509CRLEntry
      Returns:
      the encoded form of this entry.
      Throws:
      CRLException - if encoding fails.
    • getSerialNumber

      public BigInteger getSerialNumber()
      Description copied from class: X509CRLEntry
      Returns the serial number of the revoked certificate.
      Specified by:
      getSerialNumber in class X509CRLEntry
      Returns:
      the serial number of the revoked certificate.
    • getRevocationDate

      public Date getRevocationDate()
      Description copied from class: X509CRLEntry
      Returns the date when the certificate is revoked.
      Specified by:
      getRevocationDate in class X509CRLEntry
      Returns:
      the date when the certificate is revoked.
    • hasExtensions

      public boolean hasExtensions()
      Description copied from class: X509CRLEntry
      Returns whether this CRL entry has extensions.
      Specified by:
      hasExtensions in class X509CRLEntry
      Returns:
      true is this CRL entry has extensions, otherwise false.
    • toString

      public String toString()
      Description copied from class: X509CRLEntry
      Returns a string representation of this instance.
      Specified by:
      toString in class X509CRLEntry
      Returns:
      a string representation of this instance.