Class AbstractASiCContentBuilder

java.lang.Object
eu.europa.esig.dss.asic.common.signature.AbstractASiCContentBuilder

public abstract class AbstractASiCContentBuilder extends Object
Abstract class used to build an instance of ASiCContent. As input an ASiC Container can be used or documents to be signed
  • Constructor Details

    • AbstractASiCContentBuilder

      protected AbstractASiCContentBuilder()
      Default constructor
  • Method Details

    • build

      public ASiCContent build(List<eu.europa.esig.dss.model.DSSDocument> documents, eu.europa.esig.dss.enumerations.ASiCContainerType asicContainerType)
      Builds the ASiCContent from the
      Parameters:
      documents - representing an ASiC Container or a list of documents to be signed
      asicContainerType - ASiCContainerType representing the target ASiC Container type
      Returns:
      ASiCContent
    • getContainerExtractor

      protected abstract ASiCContainerExtractor getContainerExtractor(eu.europa.esig.dss.model.DSSDocument archiveDocument)
      Returns an instance of a corresponding container extractor class
      Parameters:
      archiveDocument - DSSDocument representing a container to be extracted
      Returns:
      ASiCContainerExtractor