Class X509CRLEntryHolder

  • All Implemented Interfaces:

    
    public class X509CRLEntryHolder
    
                        

    Holding class for an X.509 CRL Entry structure.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      BigInteger getSerialNumber() Return the serial number of the certificate associated with this CRLEntry.
      Date getRevocationDate() Return the date on which the certificate associated with this CRLEntry was revoked.
      boolean hasExtensions() Return whether or not the holder's CRL entry contains extensions.
      GeneralNames getCertificateIssuer() Return the available names for the certificate issuer for the certificate referred to by this CRL entry.
      Extension getExtension(ASN1ObjectIdentifier oid) Look up the extension associated with the passed in OID.
      Extensions getExtensions() Return the extensions block associated with this CRL entry if there is one.
      List getExtensionOIDs() Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.
      Set getCriticalExtensionOIDs() Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.
      Set getNonCriticalExtensionOIDs() Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getSerialNumber

         BigInteger getSerialNumber()

        Return the serial number of the certificate associated with this CRLEntry.

        Returns:

        the revoked certificate's serial number.

      • getRevocationDate

         Date getRevocationDate()

        Return the date on which the certificate associated with this CRLEntry was revoked.

        Returns:

        the revocation date for the revoked certificate.

      • hasExtensions

         boolean hasExtensions()

        Return whether or not the holder's CRL entry contains extensions.

        Returns:

        true if extension are present, false otherwise.

      • getCertificateIssuer

         GeneralNames getCertificateIssuer()

        Return the available names for the certificate issuer for the certificate referred to by this CRL entry.

        Note: this will be the issuer of the CRL unless it has been specified that the CRL is indirect in the IssuingDistributionPoint extension and either a previous entry, or the current one, has specified a different CA via the certificateIssuer extension.

        Returns:

        the revoked certificate's issuer.

      • getExtension

         Extension getExtension(ASN1ObjectIdentifier oid)

        Look up the extension associated with the passed in OID.

        Parameters:
        oid - the OID of the extension of interest.
        Returns:

        the extension if present, null otherwise.

      • getExtensions

         Extensions getExtensions()

        Return the extensions block associated with this CRL entry if there is one.

        Returns:

        the extensions block, null otherwise.

      • getExtensionOIDs

         List getExtensionOIDs()

        Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.

        Returns:

        a list of extension OIDs.

      • getCriticalExtensionOIDs

         Set getCriticalExtensionOIDs()

        Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.

        Returns:

        a set of critical extension OIDs.

      • getNonCriticalExtensionOIDs

         Set getNonCriticalExtensionOIDs()

        Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL entry.

        Returns:

        a set of non-critical extension OIDs.