Class ASiCWithCAdESTimestampManifestBuilder

java.lang.Object
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCEWithCAdESManifestBuilder
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCWithCAdESTimestampManifestBuilder

public class ASiCWithCAdESTimestampManifestBuilder extends ASiCEWithCAdESManifestBuilder
This class is used to create a Manifest file for a timestamp creation
  • Field Details

    • asicContent

      protected final eu.europa.esig.dss.asic.common.ASiCContent asicContent
    • sigReferenceUri

      protected final String sigReferenceUri
    • digestAlgorithm

      protected final eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm
  • Constructor Details

    • ASiCWithCAdESTimestampManifestBuilder

      public ASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename)
      The default constructor
      Parameters:
      asicContent - ASiCContent representing container's document structure
      digestAlgorithm - DigestAlgorithm to use for reference digest computation
      timestampFilename - String filename of the time-stamp document associated with the manifest
    • ASiCWithCAdESTimestampManifestBuilder

      public ASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory)
      Constructor with filename factory
      Parameters:
      asicContent - ASiCContent representing container's document structure
      digestAlgorithm - DigestAlgorithm to use for reference digest computation
      timestampFilename - String filename of the time-stamp document associated with the manifest
      asicFilenameFactory - ASiCWithCAdESFilenameFactory
  • Method Details

    • getSigReferenceMimeType

      protected eu.europa.esig.dss.enumerations.MimeType getSigReferenceMimeType()
    • setAsicContentDocumentFilter

      public ASiCWithCAdESTimestampManifestBuilder setAsicContentDocumentFilter(eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilter asicContentDocumentFilter)
    • build

      public eu.europa.esig.dss.model.DSSDocument build()
    • buildDom

      protected Document buildDom()
    • createRootElement

      protected Element createRootElement(Document arg0)
    • addSigReference

      protected void addSigReference(Document arg0, Element arg1)
    • addDataObjectReferences

      protected void addDataObjectReferences(Document arg0, Element arg1)
    • getAsicContentDocumentFilter

      protected eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilter getAsicContentDocumentFilter()
    • addDataObjectReference

      protected Element addDataObjectReference(Document arg0, Element arg1, eu.europa.esig.dss.model.DSSDocument arg2, eu.europa.esig.dss.enumerations.DigestAlgorithm arg3)
    • isRootfile

      protected boolean isRootfile(eu.europa.esig.dss.model.DSSDocument arg0)
    • toDSSDocument

      protected eu.europa.esig.dss.model.DSSDocument toDSSDocument(Document arg0)