Class ASiCManifestParser

java.lang.Object
eu.europa.esig.dss.asic.common.validation.ASiCManifestParser

public class ASiCManifestParser extends Object
Parses ASiC Manifest file and produces a ManifestFile
  • Method Details

    • getManifestFile

      public static ManifestFile getManifestFile(DSSDocument manifestDocument)
      Parses and converts DSSDocument to ManifestFile
      Parameters:
      manifestDocument - DSSDocument to parse
      Returns:
      ManifestFile
    • getLinkedManifest

      public static DSSDocument getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName)
      Returns the relative manifests for the given signature name
      Parameters:
      manifestDocuments - list of found manifests DSSDocument in the container (candidates)
      signatureName - String name of the signature to get related manifest for
      Returns:
      DSSDocument the related manifests