Module jpms_dss_asic_common
Class ASiCManifestParser
java.lang.Object
eu.europa.esig.dss.asic.common.validation.ASiCManifestParser
Parses ASiC Manifest file and produces a
ManifestFile-
Method Summary
Modifier and TypeMethodDescriptionstatic eu.europa.esig.dss.model.DSSDocumentgetLinkedManifest(List<eu.europa.esig.dss.model.DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature namestatic eu.europa.esig.dss.model.ManifestFilegetManifestFile(eu.europa.esig.dss.model.DSSDocument manifestDocument) Parses and convertsDSSDocumenttoManifestFile
-
Method Details
-
getManifestFile
public static eu.europa.esig.dss.model.ManifestFile getManifestFile(eu.europa.esig.dss.model.DSSDocument manifestDocument) Parses and convertsDSSDocumenttoManifestFile- Parameters:
manifestDocument-DSSDocumentto parse- Returns:
ManifestFile
-
getLinkedManifest
public static eu.europa.esig.dss.model.DSSDocument getLinkedManifest(List<eu.europa.esig.dss.model.DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature name- Parameters:
manifestDocuments- list of found manifestsDSSDocumentin the container (candidates)signatureName-Stringname of the signature to get related manifest for- Returns:
DSSDocumentthe related manifests
-