Skip to content

A SetaPDF-Signer component signature module for the GlobalSign Qualified Signing Service.

License

Notifications You must be signed in to change notification settings

Setasign/SetaPDF-Signer-Addon-GlobalSign-QSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetaPDF-Signer component modules for the GlobalSign Qualified Signing Service.

This package offers modules for the SetaPDF-Signer component that allow you to use the Qualified Signing Service by GlobalSign to digital sign and timestamp with qualified signatures PDF documents in pure PHP.

Requirements

To use this package you need credentials for the GlobalSign Qualified Signing Service which are:

  1. Your private key
  2. Client certificate for mTLS connection to the API
  3. Your API key and password
  4. the QSS Mobile App

This package is developed and tested on PHP >= 7.1. Requirements of the SetaPDF-Signer component can be found here.

We're using PSR-17 (HTTP Factories) and PSR-18 (HTTP Client) for the requests. So you'll need an implementation of these. We recommend using Guzzle.

For PHP 7.1

    "require" : {
        "guzzlehttp/guzzle": "^6.5",
        "http-interop/http-factory-guzzle": "^1.0",
        "mjelamanov/psr18-guzzle": "^1.3"
    }

For >= PHP 7.2

    "require" : {
        "guzzlehttp/guzzle": "^7.0",
        "http-interop/http-factory-guzzle": "^1.0"
    }

Installation

Add following to your composer.json:

{
    "require": {
        "setasign/setapdf-signer-addon-global-sign-qss": "^1.0"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://www.setasign.com/downloads/"
        }
    ]
}

and execute composer update. You need to define the repository to evaluate the dependency to the SetaPDF-Signer component (see here for more details).

License

This package is open-sourced software licensed under the MIT license.