Interface IPdfObjFactory

All Known Implementing Classes:
AbstractPdfObjFactory, ITextDefaultPdfObjFactory, PdfBoxDefaultObjectFactory, PdfBoxNativeObjectFactory, ServiceLoaderPdfObjFactory

public interface IPdfObjFactory
Loads the relevant implementation of PDFSignatureService
  • Method Details

    • newContentTimestampService

      PDFSignatureService newContentTimestampService()
      The services used for a content timestamp creation
      Returns:
      PDFSignatureService
    • newPAdESSignatureService

      PDFSignatureService newPAdESSignatureService()
      The services used for a signature creation
      Returns:
      PDFSignatureService
    • newSignatureTimestampService

      PDFSignatureService newSignatureTimestampService()
      The services used for a signature timestamp creation
      Returns:
      PDFSignatureService
    • newArchiveTimestampService

      PDFSignatureService newArchiveTimestampService()
      The services used for an archive timestamp creation
      Returns:
      PDFSignatureService
    • setResourcesHandlerBuilder

      void setResourcesHandlerBuilder(DSSResourcesHandlerBuilder resourcesHandlerBuilder)
      This method sets a DSSResourcesHandlerBuilder to be used for operating with internal objects during the signature creation procedure.
      Parameters:
      resourcesHandlerBuilder - DSSResourcesHandlerBuilder
    • setPdfDifferencesFinder

      void setPdfDifferencesFinder(PdfDifferencesFinder pdfDifferencesFinder)
      This method is used to set a custom PdfDifferencesFinder to detect differences between signed and final PDF document revisions.
      Parameters:
      pdfDifferencesFinder - PdfDifferencesFinder
    • setPdfObjectModificationsFinder

      void setPdfObjectModificationsFinder(PdfObjectModificationsFinder pdfObjectModificationsFinder)
      This method is used to set a custom PdfObjectModificationsFinder to detect modifications occurred within internal PDF objects between signed and final PDF document revisions.
      Parameters:
      pdfObjectModificationsFinder - PdfObjectModificationsFinder
    • setPdfPermissionsChecker

      void setPdfPermissionsChecker(PdfPermissionsChecker pdfPermissionsChecker)
      This method is used to set a custom PdfPermissionsChecker to verify the PDF document encryption dictionary permission rules for a new signature creation, when applicable
      Parameters:
      pdfPermissionsChecker - PdfPermissionsChecker
    • setPdfSignatureFieldPositionChecker

      void setPdfSignatureFieldPositionChecker(PdfSignatureFieldPositionChecker pdfSignatureFieldPositionChecker)
      This method is used to set a custom PdfSignatureFieldPositionChecker to verify the validity of new signature field placement.
      Parameters:
      pdfSignatureFieldPositionChecker - PdfPermissionsChecker