Class CRLUtilsX509CRLImpl

java.lang.Object
eu.europa.esig.dss.crl.AbstractCRLUtils
eu.europa.esig.dss.crl.x509.impl.CRLUtilsX509CRLImpl
All Implemented Interfaces:
eu.europa.esig.dss.crl.ICRLUtils

public class CRLUtilsX509CRLImpl extends eu.europa.esig.dss.crl.AbstractCRLUtils implements eu.europa.esig.dss.crl.ICRLUtils
The implementation of ICRLUtils with java.security classes
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.crl.CRLValidity
    buildCRLValidity(eu.europa.esig.dss.crl.CRLBinary crlBinary, eu.europa.esig.dss.model.x509.CertificateToken issuerToken)
    This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out.
    getRevocationInfo(eu.europa.esig.dss.crl.CRLValidity crlValidity, BigInteger serialNumber)
     

    Methods inherited from class eu.europa.esig.dss.crl.AbstractCRLUtils

    buildCRLBinary, extractExpiredCertsOnCRL, extractIssuingDistributionPointBinary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface eu.europa.esig.dss.crl.ICRLUtils

    buildCRLBinary
  • Constructor Details

    • CRLUtilsX509CRLImpl

      public CRLUtilsX509CRLImpl()
      Default constructor
  • Method Details

    • buildCRLValidity

      public eu.europa.esig.dss.crl.CRLValidity buildCRLValidity(eu.europa.esig.dss.crl.CRLBinary crlBinary, eu.europa.esig.dss.model.x509.CertificateToken issuerToken) throws IOException
      This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out. A dedicated object based on CRLValidity is created and accordingly updated.
      Specified by:
      buildCRLValidity in interface eu.europa.esig.dss.crl.ICRLUtils
      Parameters:
      crlBinary - CRLBinary of the CRL to be created (cannot be null)
      issuerToken - CertificateToken used to sign the X509CRL (cannot be null)
      Returns:
      CRLValidity
      Throws:
      IOException
    • getRevocationInfo

      public X509CRLEntry getRevocationInfo(eu.europa.esig.dss.crl.CRLValidity crlValidity, BigInteger serialNumber)
      Specified by:
      getRevocationInfo in interface eu.europa.esig.dss.crl.ICRLUtils