EndSignProcessToFileA

Security and Signatures

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to EndSignProcessToFile and string arguments are interpreted using the current SetAnsiMode code page

Completes a digital signature process and writes the signed document to a file.

The result returned by EndSignProcessToFile will always be zero. To check the result of the digital signature signing process call the GetSignProcessResult function.

Syntax

Delphi

Function DLEndSignProcessToFileA(InstanceID, SignProcessID: Integer; OutputFile: PAnsiChar): Integer;

DLL

int DLEndSignProcessToFileA(int InstanceID, int SignProcessID, const char * OutputFile);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions. The path and name of the file to save the signed PDF to.
OutputFile