Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.23 KB

File metadata and controls

52 lines (39 loc) · 2.23 KB

Swisscom AIS signature add-on for the SetaPDF-Signer component

This add-on offers individual signature modules and batch signature functionalities for the SetaPDF-Signer Component that allows you to use the Swisscom All-in Signing Service to digital sign PDF documents in pure PHP.

The implementation is based on the All-in Signing Service Reference Guide Version 2.10.

The form for requesting a test account at Swisscom includes the Claimed IDs for testing and is available here.

Requirements

To use this add-on you need credentials for the Swisscom AIS webservice.

This add-on is developed and tested on PHP >= 7.2. 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. Note: Your implementation must support client-side certificates.

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

Installation

Add following to your composer.json:

{
    "require": {
        "setasign/setapdf-signer-addon-swisscomais": "^2.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.