SetSignProcessPFXFromFile

Security and Signatures

Description

Sets a file to use as the digital identity for a digital signature process.

The file should be in PKCS #12 format, also known as a PFX file, and contain a private key as well as an X.509 certificate. PFX files are usually protected with a password.

Syntax

Delphi

function TPDFlib.SetSignProcessPFXFromFile(SignProcessID: Integer; Const PFXFileName, PFXPassword: WideString): Integer;

ActiveX

Function PDFlib::SetSignProcessPFXFromFile(SignProcessID As Long, PFXFileName As String, PFXPassword As String) As Long

DLL

int DLSetSignProcessPFXFromFile(int InstanceID, int SignProcessID, wchar_t * PFXFileName, wchar_t * PFXPassword);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
PFXFileNameThe path and name of the PFX signature file (PKCS #12 format).
PFXPasswordThe password to open the PFX file.