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 Summary

    Constructors
    Constructor
    Description
    PAdESExtensionService(eu.europa.esig.dss.validation.CertificateVerifier certificateVerifier)
    Constructor instantiating default IPdfObjFactory
    PAdESExtensionService(eu.europa.esig.dss.validation.CertificateVerifier certificateVerifier, IPdfObjFactory pdfObjectFactory)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.model.DSSDocument
    incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document)
    This method adds a DSS dictionary revision to the given document without password-protection with the required validation data if needed and no VRI dictionary created.
    eu.europa.esig.dss.model.DSSDocument
    incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document, char[] passwordProtection)
    This method adds a DSS dictionary revision to the given document protected by a passwordProtection with the required validation data if needed, without VRI dictionary created.
    eu.europa.esig.dss.model.DSSDocument
    incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document, char[] passwordProtection, boolean includeVRIDict)
    This method adds a DSS dictionary revision to the given document protected by a passwordProtection with the required validation data if needed, and a VRI dictionary is defined.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PAdESExtensionService

      public PAdESExtensionService(eu.europa.esig.dss.validation.CertificateVerifier certificateVerifier)
      Constructor instantiating default IPdfObjFactory
      Parameters:
      certificateVerifier - CertificateVerifier
    • PAdESExtensionService

      public PAdESExtensionService(eu.europa.esig.dss.validation.CertificateVerifier certificateVerifier, IPdfObjFactory pdfObjectFactory)
      Default constructor
      Parameters:
      certificateVerifier - CertificateVerifier
      pdfObjectFactory - IPdfObjFactory
  • Method Details

    • incorporateValidationData

      public eu.europa.esig.dss.model.DSSDocument incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document)
      This method adds a DSS dictionary revision to the given document without password-protection with the required validation data if needed and no VRI dictionary created. 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 eu.europa.esig.dss.model.DSSDocument incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document, char[] passwordProtection)
      This method adds a DSS dictionary revision to the given document protected by a passwordProtection with the required validation data if needed, without VRI dictionary created. NOTE: This method does not check the validity of the provided signatures/timestamps (e.g. a T-level, ...)
      Parameters:
      document - DSSDocument to extend
      passwordProtection - a password protection for the PDF document, when required
      Returns:
      DSSDocument extended document
    • incorporateValidationData

      public eu.europa.esig.dss.model.DSSDocument incorporateValidationData(eu.europa.esig.dss.model.DSSDocument document, char[] passwordProtection, boolean includeVRIDict)
      This method adds a DSS dictionary revision to the given document protected by a passwordProtection with the required validation data if needed, and a VRI dictionary is defined. NOTE: This method does not check the validity of the provided signatures/timestamps (e.g. a T-level, ...)
      Parameters:
      document - DSSDocument to extend
      passwordProtection - a password protection for the PDF document, when required
      includeVRIDict - defines whether VRI dictionary should be included to the created DSS dictionary (when applicable)
      Returns:
      DSSDocument extended document