Class ASiCWithCAdESExtractResultUtils

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

public class ASiCWithCAdESExtractResultUtils
extends Object
  • Method Details

    • getSignedDocument

      public static DSSDocument getSignedDocument​(ASiCExtractResult extractResult, String signatureFilename)
      Returns a list of signed documents by a signature with a given signatureFilename
      Parameters:
      extractResult - ASiCExtractResult representing an ASiC container extraction result
      signatureFilename - String a filename of a signature to get extracted document for
      Returns:
      a list of DSSDocuments
    • isCoveredByManifest

      public static boolean isCoveredByManifest​(ASiCExtractResult extractResult, String signatureFilename)
      Checks if a signature with the given filename is covered by a manifest
      Parameters:
      extractResult - ASiCExtractResult the ASiC container extraction result
      signatureFilename - String a filename of a signature to check
      Returns:
      TRUE if the signature is covered by a manifest, FALSE otherwise