munizeverton / portablesigner
Signer pdf file
Installs: 220
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/munizeverton/portablesigner
This package is auto-updated.
Last update: 2025-09-29 02:07:10 UTC
README
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);