Class AbstractManifestBuilder
java.lang.Object
eu.europa.esig.dss.asic.cades.signature.manifest.AbstractManifestBuilder
- Direct Known Subclasses:
ASiCEWithCAdESArchiveManifestBuilder
,ASiCEWithCAdESManifestBuilder
The abstract class to build a Manifest for ASiC with CAdES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Element
addDataObjectReference
(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
elementprotected void
addSigReference
(Document documentDom, Element asicManifestDom, String uri, MimeType mimeType) Adds a<SigReference>
element
-
Constructor Details
-
AbstractManifestBuilder
protected AbstractManifestBuilder()Default constructor
-
-
Method Details
-
addSigReference
protected void addSigReference(Document documentDom, Element asicManifestDom, String uri, MimeType mimeType) Adds a<SigReference>
element -
addDataObjectReference
protected Element addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
element- Parameters:
documentDom
-Document
to add the DataObjectReference toasicManifestDom
-Element
containing an asicManifestDom to incorporate the DataObjectReference withindocument
-DSSDocument
to referdigestAlgorithm
-DigestAlgorithm
to use for digest calculation- Returns:
Element
-