Class AbstractCRLUtils

java.lang.Object
eu.europa.esig.dss.crl.AbstractCRLUtils
Direct Known Subclasses:
CRLUtilsStreamImpl, CRLUtilsX509CRLImpl

public abstract class AbstractCRLUtils extends Object
The abstract class containing common code for CRL parsing
  • Constructor Details

    • AbstractCRLUtils

      protected AbstractCRLUtils()
      Default constructor
  • Method Details

    • buildCRLBinary

      public CRLBinary buildCRLBinary(byte[] binaries)
      Builds the CRLBinary object
      Parameters:
      binaries - byte array representing the CRL (DER or PEM encoded)
      Returns:
      CRLBinary
    • extractExpiredCertsOnCRL

      protected void extractExpiredCertsOnCRL(CRLValidity validity, byte[] expiredCertsOnCRLBinaries)
      Parses and sets the 'expiredCertsOnCRL' value
      Parameters:
      validity - CRLValidity to set the value to
      expiredCertsOnCRLBinaries - the 'expiredCertsOnCRL' value
    • extractIssuingDistributionPointBinary

      protected void extractIssuingDistributionPointBinary(CRLValidity validity, byte[] issuingDistributionPointBinary)
      Parses and sets the issuing distribution point binaries
      Parameters:
      validity - CRLValidity to set the value to
      issuingDistributionPointBinary - the issuing distribution point binaries