EndSignProcessToString

Security and Signatures

Description

Completes a digital signature process and returns the signed document as a string of 8-bit bytes

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

Syntax

Delphi

Function TPDFlib.EndSignProcessToString(SignProcessID: Integer): AnsiString;

DLL

const char* DLEndSignProcessToString(int InstanceID, int SignProcessID);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions

Return values

Returns the signed document as an ANSI string, or an empty string when SignProcessID is invalid; GetSignProcessResult reports the outcome