Class ASiCWithCAdESTimestampManifestBuilder
java.lang.Object
eu.europa.esig.dss.asic.common.AbstractASiCManifestBuilder
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCEWithCAdESManifestBuilder
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCWithCAdESTimestampManifestBuilder
This class is used to create a Manifest file for a timestamp creation
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.AbstractASiCManifestBuilder
asicContent, digestAlgorithm, sigReferenceUri
-
Constructor Summary
ConstructorDescriptionASiCWithCAdESTimestampManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructorASiCWithCAdESTimestampManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Method Summary
Modifier and TypeMethodDescriptionprotected MimeType
(Optional) Returns theMimeType
to be used for a signature reference (signature or timestamp)setAsicContentDocumentFilter
(ASiCContentDocumentFilter asicContentDocumentFilter) Sets anASiCContentDocumentFilter
used to filter the documents to compute hashes for.Methods inherited from class eu.europa.esig.dss.asic.cades.signature.manifest.ASiCEWithCAdESManifestBuilder
getManifestFilename, initDefaultAsicContentDocumentFilter
Methods inherited from class eu.europa.esig.dss.asic.common.AbstractASiCManifestBuilder
addDataObjectReference, addDataObjectReferences, addSigReference, build, buildDom, createRootElement, getAsicContentDocumentFilter, isRootfile, toDSSDocument
-
Constructor Details
-
ASiCWithCAdESTimestampManifestBuilder
public ASiCWithCAdESTimestampManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructor- Parameters:
asicContent
-ASiCContent
representing container's document structuredigestAlgorithm
-DigestAlgorithm
to use for reference digest computationtimestampFilename
-String
filename of the time-stamp document associated with the manifest
-
ASiCWithCAdESTimestampManifestBuilder
public ASiCWithCAdESTimestampManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory- Parameters:
asicContent
-ASiCContent
representing container's document structuredigestAlgorithm
-DigestAlgorithm
to use for reference digest computationtimestampFilename
-String
filename of the time-stamp document associated with the manifestasicFilenameFactory
-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
getSigReferenceMimeType
Description copied from class:AbstractASiCManifestBuilder
(Optional) Returns theMimeType
to be used for a signature reference (signature or timestamp)- Specified by:
getSigReferenceMimeType
in classAbstractASiCManifestBuilder
- Returns:
MimeType
-
setAsicContentDocumentFilter
public ASiCWithCAdESTimestampManifestBuilder setAsicContentDocumentFilter(ASiCContentDocumentFilter asicContentDocumentFilter) Description copied from class:AbstractASiCManifestBuilder
Sets anASiCContentDocumentFilter
used to filter the documents to compute hashes for. When not set, a defaultASiCContentDocumentFilter
is used for the given manifest type.- Overrides:
setAsicContentDocumentFilter
in classAbstractASiCManifestBuilder
- Parameters:
asicContentDocumentFilter
-ASiCContentDocumentFilter
- Returns:
- this
ASiCEvidenceRecordDigestBuilder
-