SetSignProcessCertFromStore

Security and Signatures

Opis

Configures a digital signature process to load the signing certificate from the Windows Certificate Store instead of a PFX file.

Sintaksa

Delphi

Function TPDFlib.SetSignProcessCertFromStore(SignProcessID: Integer; Const StoreName, CertName: WideString): Integer;

Parameters

SignProcessIDThe ID of the signature process.
StoreNameThe name of the Windows certificate store (e.g. 'MY', 'Root', 'CA').
CertNameThe subject name or thumbprint of the certificate.

Return values

0The certificate could not be configured or found
1Successfully configured