Class ASiCWithCAdESTimestampManifestBuilder
java.lang.Object
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
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.asic.common.ASiCContentprotected final eu.europa.esig.dss.enumerations.DigestAlgorithmprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructorASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Method Summary
Modifier and TypeMethodDescriptionprotected ElementaddDataObjectReference(Document arg0, Element arg1, eu.europa.esig.dss.model.DSSDocument arg2, eu.europa.esig.dss.enumerations.DigestAlgorithm arg3) protected voidaddDataObjectReferences(Document arg0, Element arg1) protected voidaddSigReference(Document arg0, Element arg1) eu.europa.esig.dss.model.DSSDocumentbuild()protected DocumentbuildDom()protected ElementcreateRootElement(Document arg0) protected eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilterprotected eu.europa.esig.dss.enumerations.MimeTypeprotected booleanisRootfile(eu.europa.esig.dss.model.DSSDocument arg0) setAsicContentDocumentFilter(eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilter asicContentDocumentFilter) protected eu.europa.esig.dss.model.DSSDocumenttoDSSDocument(Document arg0) Methods inherited from class ASiCEWithCAdESManifestBuilder
getManifestFilename, initDefaultAsicContentDocumentFilter
-
Field Details
-
asicContent
protected final eu.europa.esig.dss.asic.common.ASiCContent asicContent -
sigReferenceUri
-
digestAlgorithm
protected final eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm
-
-
Constructor Details
-
ASiCWithCAdESTimestampManifestBuilder
public ASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructor- Parameters:
asicContent-ASiCContentrepresenting container's document structuredigestAlgorithm-DigestAlgorithmto use for reference digest computationtimestampFilename-Stringfilename of the time-stamp document associated with the manifest
-
ASiCWithCAdESTimestampManifestBuilder
public ASiCWithCAdESTimestampManifestBuilder(eu.europa.esig.dss.asic.common.ASiCContent asicContent, eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory- Parameters:
asicContent-ASiCContentrepresenting container's document structuredigestAlgorithm-DigestAlgorithmto use for reference digest computationtimestampFilename-Stringfilename of the time-stamp document associated with the manifestasicFilenameFactory-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
getSigReferenceMimeType
protected eu.europa.esig.dss.enumerations.MimeType getSigReferenceMimeType() -
setAsicContentDocumentFilter
public ASiCWithCAdESTimestampManifestBuilder setAsicContentDocumentFilter(eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilter asicContentDocumentFilter) -
build
public eu.europa.esig.dss.model.DSSDocument build() -
buildDom
-
createRootElement
-
addSigReference
-
addDataObjectReferences
-
getAsicContentDocumentFilter
protected eu.europa.esig.dss.asic.common.evidencerecord.ASiCContentDocumentFilter getAsicContentDocumentFilter() -
addDataObjectReference
-
isRootfile
protected boolean isRootfile(eu.europa.esig.dss.model.DSSDocument arg0) -
toDSSDocument
-