GetPAdESLTVErrorA

Digital signatures

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

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

Returns why the last long-term validation call did not fully complete

Syntax

Delphi

Function DLGetPAdESLTVErrorA(InstanceID: Integer): PAnsiChar;

DLL

const char* DLGetPAdESLTVErrorA(int InstanceID);

Return values

Empty stringEverything requested was obtained
MessageThe first reason material was missed, or the reason the call failed

Remarks

A non-empty value does not always mean failure: a promotion can succeed with partial material when a responder was unreachable, and this then names the first thing that could not be gathered

See also

ApplyPAdESLongTermValidation, GetPAdESLTVCertificateCount