SetSignProcessCertFromStore

Security and Signatures

Aprašymas

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

Sintaksė

Delphi

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

Parametrai

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