Package org.digidoc4j.impl.asic.cades
Class AsicArchiveManifest
java.lang.Object
org.digidoc4j.impl.asic.cades.AsicArchiveManifest
- All Implemented Interfaces:
Serializable
An entity for handling instances of
ASiCArchiveManifest.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionAsicArchiveManifest(eu.europa.esig.dss.model.DSSDocument manifestDocument) Creates an instance of AsicArchiveManifest by wrapping the specified DSSDocument. -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentReturns the DSSDocument of the manifest.Returns the set of non-null names of this manifest's entries.Returns the list of data objects referenced by this manifest file.Returns the timestamp token referenced by this manifest file.
-
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
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
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
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
-