SetSignProcessCertFromStore

Security and Signatures

Опис

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

Синтаксис

Delphi

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

Параметри

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