SetSignProcessCertFromStore
Security and Signatures
Description
Configures a digital signature process to load the signing certificate from the Windows Certificate Store instead of a PFX file.
Syntax
Delphi
Function TPDFlib.SetSignProcessCertFromStore(SignProcessID: Integer; Const StoreName, CertName: WideString): Integer;
Parameters
| SignProcessID | The ID of the signature process. |
|---|---|
| StoreName | The name of the Windows certificate store (e.g. 'MY', 'Root', 'CA'). |
| CertName | The subject name or thumbprint of the certificate. |
Return values
| 0 | The certificate could not be configured or found |
|---|---|
| 1 | Successfully configured |