Class PAdESExtensionService

java.lang.Object
eu.europa.esig.dss.pades.signature.PAdESExtensionService

public class PAdESExtensionService extends Object
The service is used to obtain a validation data for signatures/timestamps within a PDF file and incorporate it on the LT-level of the document (create a DSS dictionary revision)
  • Constructor Details

  • Method Details

    • incorporateValidationData

      public DSSDocument incorporateValidationData(DSSDocument document)
      This method adds a DSS dictionary revision to the given document with the required validation data if needed NOTE: This method does not check the validity of the provided signatures/timestamps (e.g. a T-level, ...)
      Parameters:
      document - DSSDocument to extend
      Returns:
      DSSDocument extended document
    • incorporateValidationData

      public DSSDocument incorporateValidationData(DSSDocument document, String passwordProtection)
      This method adds a DSS dictionary revision to the given document protected by a passwordProtection with the required validation data if needed. NOTE: This method does not check the validity of the provided signatures/timestamps (e.g. a T-level, ...)
      Parameters:
      document - DSSDocument to extend
      passwordProtection - String a password protection for the PDF document, when present
      Returns:
      DSSDocument extended document