NewSignProcessFromString

Security and Signatures

Description

Creates a new digital signature process using a string of 8-bit bytes as the source.

Syntax

Delphi

Function TPDFlib.NewSignProcessFromString(Const Source: AnsiString; Const Password: WideString): Integer;

DLL

int DLNewSignProcessFromString(int InstanceID, const char* Source, const wchar_t* Password);
int DLNewSignProcessFromStringA(int InstanceID, const char* Source, const char* Password);

Parameters

SourceA string containing the document to be signed
PasswordThe password to open the PDF, if any

Return values

Returns a SignProcessID for the new signature process backed by the given string of 8-bit bytes.