munizeverton/portablesigner

There is no license information available for the latest version (v4.1) of this package.

Signer pdf file

v4.1 2018-08-17 00:39 UTC

This package is auto-updated.

Last update: 2024-12-29 05:38:37 UTC


README

Total Downloads

PortableSigner

Assina digitalmente um arquivo PDF, a partir de um certificado digital do tipo A1

Para isso, é usada a ferramenta Portable Signer.

Exemplo de uso:

$tempFile = 'path/file.pdf';
$tempSignedFile = 'path/newfile.pdf';
$certificateFile = 'path/certificate.pfx';
$certificatePassword = 'secret';

Signer::signPdfFile($tempFile, $tempSignedFile, $certificateFile, $certificatePassword);