GetSignProcessResult

Security and Signatures

Description

Returns the signing result of a digital signature process.

Syntax

Delphi

Function TPDFlib.GetSignProcessResult(SignProcessID: Integer): Integer;

ActiveX

Function PDFlib::GetSignProcessResult(SignProcessID As Long) As Long

DLL

int DLGetSignProcessResult(int InstanceID, int SignProcessID);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.

Return values

1The file was signed successfully
2Input PDF not found
3Input PDF cannot be read
4Input PDF password incorrect
5Certificate file not found
6Certificate file is invalid
7Incorrect certificate password
8Unrecognised certificate format
9No private key found in the certificate file
10Could not write the output file
11Could not apply the signature
12The signature field name was blank
13The signature field's seed-value constraints rejected the signature; GetSignProcessSeedValueError names the constraint concerned
14The input file could not be opened for signing
15The input data could not be opened for signing
16The input file could not be read into memory
17An existing certification at permission level 1, or a field lock covering the target field, prohibits the signature; GetSignProcessSeedValueError names the signature responsible, and SetSignProcessIgnorePermissions overrides the check