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
| SignProcessID | A value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions. |
|---|
Return values
| 1 | The file was signed successfully |
|---|---|
| 2 | Input PDF not found |
| 3 | Input PDF cannot be read |
| 4 | Input PDF password incorrect |
| 5 | Certificate file not found |
| 6 | Certificate file is invalid |
| 7 | Incorrect certificate password |
| 8 | Unrecognised certificate format |
| 9 | No private key found in the certificate file |
| 10 | Could not write the output file |
| 11 | Could not apply the signature |
| 12 | The signature field name was blank |
| 13 | The signature field's seed-value constraints rejected the signature; GetSignProcessSeedValueError names the constraint concerned |
| 14 | The input file could not be opened for signing |
| 15 | The input data could not be opened for signing |
| 16 | The input file could not be read into memory |
| 17 | An 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 |