Class ASiCWithCAdESManifestParser

java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCWithCAdESManifestParser

public class ASiCWithCAdESManifestParser extends Object
This class parses the manifest document 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