Class OpenDocumentSupportUtils

java.lang.Object
eu.europa.esig.dss.asic.xades.OpenDocumentSupportUtils

public final class OpenDocumentSupportUtils
extends Object
  • Method Details

    • getOpenDocumentCoverage

      public static List<DSSDocument> getOpenDocumentCoverage​(ASiCExtractResult extractResult)
      ODF 1.2 ch 3.16 An OpenDocument document that is stored in a package may have one or more digital signatures applied to the package. Document signatures shall be stored in a file called META-INF/documentsignatures.xml in the package as described in section 3.5 of the OpenDocument specification part 3. Document signatures shall contain a <ds:Reference> element for each file within the package, with the exception that <ds:Reference> elements for the META-INF/documentsignatures.xml file containing the signature, and any files contained in the package whose relative path starts with "external-data/" should be omitted.
      Returns:
      the list of covered documents