consoneo/universign-bundle

Bundle for mapping HTTP API universign

v1.1.1 2021-04-27 08:42 UTC

This package is not auto-updated.

Last update: 2024-04-22 10:45:22 UTC


README

SensioLabsInsight

Installation

To install ConsoneoUniversignBundle with Composer just add the following to your 'composer.json' file:

{
    require: {
        "consoneo/universign-bundle": "*",
        ...
    }
}

The next thing you should do is install the bundle by executing the following command:

php composer.phar update consoneo/universign-bundle

Finally, add the bundle to the registerBundles function of the AppKernel class in the 'app/AppKernel.php' file:

public function registerBundles()
{
    $bundles = array(
        ...
        new Consoneo\Bundle\UniversignBundle\ConsoneoUniversignBundle(),
        ...
    );

Configuration

Configure the bundle by adding the following to app/config/config.yml' with your own configuration:

consoneo_universign:
    horodatage:
        login:              xxx
        password:             xxx

Horodatage

For access to universign horodatage service :

$this->container->get('universign.horodatage');

Universign Horodatage support following methods :

  • postPdf (Accès suivant le procotole XML-RPC) Horodater un fichier PDF diffère de l’horodatage de fichiers courants car le sceau d’horodatage est embarqué dans le fichier PDF. Lors de l’opération d’horodatage, le document PDF source doit être transmis intégralement afin d’y apposer le jeton d’horodatage.