GetPAdESLTVError

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

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

Syntax

Delphi

Function TPDFlib.GetPAdESLTVError: WideString; Virtual;

ActiveX

Function PDFlib::GetPAdESLTVError() As String

DLL

const wchar_t* DLGetPAdESLTVError(int InstanceID);
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