Create digital signatures for PDF documents with PHP

SetaPDF-Signer

Digital sign PDF documents with PHP

Manual

The manual and API documentation of the SetaPDF-Signer component can be found here.

Following its table of content:

  1. Getting Started
    1. System Requirements and Installation
    2. Loading the Component
    3. Error Handling
    4. Configuring the Temporary File Writer
  2. The Main Class
    1. Introduction
    2. Get an Instance
      1. Encrypted Documents
    3. Configuring the Instance
      1. Setting the Signature Field Name
      2. Configure the Reserved Space for the Final Signature
      3. Add a Timestamp Module
    4. The sign() Method
      1. Example
    5. The timestamp() Method
    6. Several Signatures
    7. Signature Properties
      1. Introdruction
      2. Predefined Constants
      3. The setSignatureProperty() and getSignatureProperty() Methods
      4. The Proxy Methods
    8. Certification
      1. Introduction
      2. Constants
      3. Set or Get the Certification Level
  3. Create a Signature Field
    1. Introduction
    2. Create Hidden Signature Fields
    3. Creating Visible Signature Fields
    4. Naming of Signature Fields
  4. Signature Appearance Modules
    1. Introduction
    2. Dynamic Appearance
      1. Configure the Background
      2. Configure the Graphic
      3. Configure Labels and Certificate Data
    3. XObject Appearance
    4. Appearances on Several Pages
  5. Signature Modules
    1. Overview
    2. Keys in PKCS#12 Format (.pfx / .p12)
    3. OpenSSL Module (PHP)
      1. Description
      2. Public Methods
      3. Demo
    4. CMS Module (PHP)
      1. Description
      2. Public Methods
      3. Demo
    5. PAdES Module (PHP)
      1. Description
      2. Public Methods
      3. Demo
    6. OpenSSL S/MIME Module (CLI)
      1. Description
      2. Public Methods
      3. Demo
    7. OpenSSL CMS Module (CLI)
      1. Description
      2. Public Methods
      3. Demo
    8. Individual Signature Process
      1. Introduction
      2. Individual Module
        1. Example
      3. External Implementation
        1. OpenSSL CLI commands
          1. dgst
          2. pkeyutl
          3. rsautl
          4. Engines
  6. Timestamp Modules
    1. Introduction
    2. RFC 3161
      1. CURL
        1. Authenticate With Username and Password
        2. Authenticate With a Client Certificate
  7. Asynchronous Signature Workflow
    1. Introduction
    2. The Workflow
      1. preSign() / preTimestamp()
      2. createSignature() / createTimestampSignature()
      3. optional: addTimeStamp()
      4. saveSignature()
    3. Example
  8. Sign Several Times
    1. Introduction
    2. Example
  9. Signing PDF Forms
    1. AcroForms
    2. XFA Forms
  10. Trust Settings
    1. Introduction
    2. Trust Settings in Adobe Acrobat or Reader
  11. Migrating
    1. From Version 2.0 to 2.1
      1. What has changed
      2. Backward Incompatible Changes
        1. Dynamic Appearance
        2. XObject Appearance
    2. From Version 1.x to 2.0
      1. Overview
      2. Error Handling
      3. Loading the Component
      4. General Refactoring
      5. Removed Methods
      6. Refactor Version 1 Methods
        1. The setAppearance() Method
        2. The setTmpDirectory() Method
        3. Page Accessor Methods
      7. Refactor Usage of Signature Modules
      8. Refactor Usage of Signature Appearances
      9. Refactor Usage of Timestamp Modules
        1. Removed Methods
  12. API Reference

Miscellaneous

Questions?

If you are searching for a feature or have any question regarding this or any other product, feel free to contact us at support@setasign.com.

Do you like this product?

Then it would be awesome, if you‘d recommend it to your friends!