Class ASiCContainerWithCAdESValidatorFactory

java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCContainerWithCAdESValidatorFactory
All Implemented Interfaces:
eu.europa.esig.dss.validation.DocumentValidatorFactory

public class ASiCContainerWithCAdESValidatorFactory extends Object implements eu.europa.esig.dss.validation.DocumentValidatorFactory
This class returns a relevant validator for an ASiC with CAdES container validation
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.validation.SignedDocumentValidator
    create(eu.europa.esig.dss.asic.common.ASiCContent asicContent)
    Creates a SignedDocumentValidator for the given asicContent
    eu.europa.esig.dss.validation.SignedDocumentValidator
    create(eu.europa.esig.dss.model.DSSDocument document)
     
    boolean
    isSupported(eu.europa.esig.dss.asic.common.ASiCContent asicContent)
    Verifies whether the provided ASiCContent is supported by the underlying validator's class
    boolean
    isSupported(eu.europa.esig.dss.model.DSSDocument document)
     

    Methods inherited from class java.lang.Object

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

    • ASiCContainerWithCAdESValidatorFactory

      public ASiCContainerWithCAdESValidatorFactory()
      Default constructor
  • Method Details

    • isSupported

      public boolean isSupported(eu.europa.esig.dss.model.DSSDocument document)
      Specified by:
      isSupported in interface eu.europa.esig.dss.validation.DocumentValidatorFactory
    • isSupported

      public boolean isSupported(eu.europa.esig.dss.asic.common.ASiCContent asicContent)
      Verifies whether the provided ASiCContent is supported by the underlying validator's class
      Parameters:
      asicContent - ASiCContent
      Returns:
      TRUE if the ASiC Content is supported, FALSE otherwise
    • create

      public eu.europa.esig.dss.validation.SignedDocumentValidator create(eu.europa.esig.dss.model.DSSDocument document)
      Specified by:
      create in interface eu.europa.esig.dss.validation.DocumentValidatorFactory
    • create

      public eu.europa.esig.dss.validation.SignedDocumentValidator create(eu.europa.esig.dss.asic.common.ASiCContent asicContent)
      Creates a SignedDocumentValidator for the given asicContent
      Parameters:
      asicContent - ASiCContent to be validated
      Returns:
      SignedDocumentValidator