Class AsicArchiveManifest

java.lang.Object
org.digidoc4j.impl.asic.cades.AsicArchiveManifest
All Implemented Interfaces:
Serializable

public class AsicArchiveManifest extends Object implements Serializable
An entity for handling instances of ASiCArchiveManifest.
See Also:
  • Constructor Details

    • AsicArchiveManifest

      public AsicArchiveManifest(eu.europa.esig.dss.model.DSSDocument manifestDocument)
      Creates an instance of AsicArchiveManifest by wrapping the specified DSSDocument. NB: the constructor does not parse the manifest! The manifest is parsed lazily as needed.
      Parameters:
      manifestDocument - DSSDocument of an ASiCArchiveManifest
  • Method Details

    • getManifestDocument

      public eu.europa.esig.dss.model.DSSDocument getManifestDocument()
      Returns the DSSDocument of the manifest.
      Returns:
      DSSDocument of the manifest
    • getReferencedTimestamp

      public AsicArchiveManifest.Reference getReferencedTimestamp()
      Returns the timestamp token referenced by this manifest file. Calling this method triggers the parsing process of the manifest if it has not been parsed already.
      Returns:
      referenced timestamp token
    • getReferencedDataObjects

      public List<AsicArchiveManifest.DataReference> getReferencedDataObjects()
      Returns the list of data objects referenced by this manifest file. Calling this method triggers the parsing process of the manifest if it has not been parsed already.
      Returns:
      list of referenced data objects
    • getNonNullEntryNames

      public Set<String> getNonNullEntryNames()
      Returns the set of non-null names of this manifest's entries. Calling this method triggers the parsing process of the manifest if it has not been parsed already.
      Returns:
      set of non-null manifest entry names