SetSignProcessCertFromStore
安全和签名
描述
配置数字签名过程以从 Windows 证书存储区加载签名证书,而不是从 PFX 文件加载
语法
Delphi
Function TPDFlib.SetSignProcessCertFromStore(SignProcessID: Integer; Const StoreName, CertName: WideString): Integer;
参数
| SignProcessID | 签名过程的 ID |
|---|---|
| StoreName | Windows 证书存储的名称(例如 'MY', 'Root', 'CA') |
| CertName | 证书的主题名称或指纹 |
返回值
| 0 | 无法配置或找到证书 |
|---|---|
| 1 | 配置成功 |