Class AbstractManifestBuilder

java.lang.Object
eu.europa.esig.dss.asic.cades.signature.manifest.AbstractManifestBuilder
Direct Known Subclasses:
ASiCEWithCAdESArchiveManifestBuilder, ASiCEWithCAdESManifestBuilder

public abstract class AbstractManifestBuilder extends Object
The abstract class to build a Manifest for ASiC with CAdES
  • Constructor Details

    • AbstractManifestBuilder

      protected AbstractManifestBuilder()
      Default constructor
  • Method Details

    • addSigReference

      protected void addSigReference(Document documentDom, Element asicManifestDom, String uri, MimeType mimeType)
      Adds a <SigReference> element
      Parameters:
      documentDom - Document to add the SigReference to
      asicManifestDom - Element containing an asicManifestDom to incorporate the SigReference within
      uri - String uri to the signature document within the container
      mimeType - MimeType of the signature document
    • addDataObjectReference

      protected Element addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm)
      Adds a <DataObjectReference> element
      Parameters:
      documentDom - Document to add the DataObjectReference to
      asicManifestDom - Element containing an asicManifestDom to incorporate the DataObjectReference within
      document - DSSDocument to refer
      digestAlgorithm - DigestAlgorithm to use for digest calculation
      Returns:
      Element