Package eu.europa.esig.dss.model
Class ManifestFile
java.lang.Object
eu.europa.esig.dss.model.ManifestFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDigestBase64String(DigestAlgorithm digestAlgorithm) Deprecated.since DSS 6.1.byte[]getDigestValue(DigestAlgorithm digestAlgorithm) Gets digest value of the manifest document for the givendigestAlgorithmGets theDSSDocumentrepresenting the manifestGets a list ofManifestEntrysGets the manifest document's filenameGets a type of the ASiC Manifest fileReturns aManifestEntrywith argument Rootfile="true"Gets the signature filenamebooleanisDocumentCovered(String documentName) Checks if the document withdocumentNameis covered by the ManifestvoidsetDocument(DSSDocument document) Sets the manifest documentvoidsetEntries(List<ManifestEntry> entries) Sets a list ofManifestEntrysvoidsetManifestType(ASiCManifestTypeEnum manifestType) Sets a type of the ASiC Manifest filevoidsetSignatureFilename(String signatureFilename) Sets the signature filename
-
Constructor Details
-
ManifestFile
public ManifestFile()Default constructor instantiating object with null values
-
-
Method Details
-
getDocument
Gets theDSSDocumentrepresenting the manifest- Returns:
DSSDocument
-
setDocument
Sets the manifest document- Parameters:
document-DSSDocument
-
getFilename
-
getSignatureFilename
-
setSignatureFilename
-
getDigestBase64String
Deprecated.since DSS 6.1. Please use#getDigestValuemethod insteadGets base64 encoded digest string of the manifest document for the givendigestAlgorithm- Parameters:
digestAlgorithm-DigestAlgorithmto compute digest- Returns:
Stringbase64-encoded digest value
-
getDigestValue
Gets digest value of the manifest document for the givendigestAlgorithm- Parameters:
digestAlgorithm-DigestAlgorithmto compute digest- Returns:
- byte array representing the digest value
-
getEntries
Gets a list ofManifestEntrys- Returns:
- a list of
ManifestEntrys
-
setEntries
Sets a list ofManifestEntrys- Parameters:
entries- a list ofManifestEntrys
-
getManifestType
Gets a type of the ASiC Manifest file- Returns:
ASiCManifestTypeEnum
-
setManifestType
Sets a type of the ASiC Manifest file- Parameters:
manifestType-ASiCManifestTypeEnum
-
getRootFile
Returns aManifestEntrywith argument Rootfile="true"- Returns:
ManifestEntryif the rootfile is found, FALSE otherwise
-
isDocumentCovered
-