munizeverton/portablesigner

此包的最新版本(v4.1)没有可用的许可证信息。

签名PDF文件

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

This package is auto-updated.

Last update: 2024-08-29 04:48:48 UTC


README

Total Downloads

PortableSigner

使用A1类型的数字证书对PDF文件进行数字签名

为此,使用Portable Signer工具。

使用示例

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

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