Package eu.europa.esig.dss.model
Class ManifestFile
java.lang.Object
eu.europa.esig.dss.model.ManifestFile
-
Constructor Summary
-
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 givendigestAlgorithm
Gets theDSSDocument
representing the manifestGets a list ofManifestEntry
sGets the manifest document's filenameGets a type of the ASiC Manifest fileReturns aManifestEntry
with argument Rootfile="true"Gets the signature filenameboolean
isDocumentCovered
(String documentName) Checks if the document withdocumentName
is covered by the Manifestvoid
setDocument
(DSSDocument document) Sets the manifest documentvoid
setEntries
(List<ManifestEntry> entries) Sets a list ofManifestEntry
svoid
setManifestType
(ASiCManifestTypeEnum manifestType) Sets a type of the ASiC Manifest filevoid
setSignatureFilename
(String signatureFilename) Sets the signature filename
-
Constructor Details
-
ManifestFile
public ManifestFile()Default constructor instantiating object with null values
-
-
Method Details
-
getDocument
Gets theDSSDocument
representing the manifest- Returns:
DSSDocument
-
setDocument
Sets the manifest document- Parameters:
document
-DSSDocument
-
getFilename
-
getSignatureFilename
-
setSignatureFilename
-
getDigestBase64String
Deprecated.since DSS 6.1. Please use#getDigestValue
method insteadGets base64 encoded digest string of the manifest document for the givendigestAlgorithm
- Parameters:
digestAlgorithm
-DigestAlgorithm
to compute digest- Returns:
String
base64-encoded digest value
-
getDigestValue
Gets digest value of the manifest document for the givendigestAlgorithm
- Parameters:
digestAlgorithm
-DigestAlgorithm
to compute digest- Returns:
- byte array representing the digest value
-
getEntries
Gets a list ofManifestEntry
s- Returns:
- a list of
ManifestEntry
s
-
setEntries
Sets a list ofManifestEntry
s- Parameters:
entries
- a list ofManifestEntry
s
-
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 aManifestEntry
with argument Rootfile="true"- Returns:
ManifestEntry
if the rootfile is found, FALSE otherwise
-
isDocumentCovered
-