Class ASiCWithCAdESSignatureManifestBuilder
java.lang.Object
eu.europa.esig.dss.asic.cades.signature.manifest.AbstractManifestBuilder
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCEWithCAdESManifestBuilder
eu.europa.esig.dss.asic.cades.signature.manifest.ASiCWithCAdESSignatureManifestBuilder
This class is used to create a Manifest file for a signature creation
-
Constructor Summary
ConstructorDescriptionASiCWithCAdESSignatureManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri) The default constructorASiCWithCAdESSignatureManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Method Summary
Modifier and TypeMethodDescriptionprotected MimeType
Returns theMimeType
to be used for a signature reference (signature or timestamp)Methods inherited from class eu.europa.esig.dss.asic.cades.signature.manifest.ASiCEWithCAdESManifestBuilder
build
Methods inherited from class eu.europa.esig.dss.asic.cades.signature.manifest.AbstractManifestBuilder
addDataObjectReference, addSigReference
-
Constructor Details
-
ASiCWithCAdESSignatureManifestBuilder
public ASiCWithCAdESSignatureManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri) The default constructor- Parameters:
asicContent
-ASiCContent
representing container's document structuredigestAlgorithm
-DigestAlgorithm
to use for reference digest computationdocumentUri
-String
filename of the document associated with the manifest
-
ASiCWithCAdESSignatureManifestBuilder
public ASiCWithCAdESSignatureManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory- Parameters:
asicContent
-ASiCContent
representing container's document structuredigestAlgorithm
-DigestAlgorithm
to use for reference digest computationdocumentUri
-String
filename of the document associated with the manifestasicFilenameFactory
-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
getSigReferenceMimeType
Description copied from class:ASiCEWithCAdESManifestBuilder
Returns theMimeType
to be used for a signature reference (signature or timestamp)- Specified by:
getSigReferenceMimeType
in classASiCEWithCAdESManifestBuilder
- Returns:
MimeType
-