GetPAdESLTVCertificateCount

數位簽章

需要 Enterprise 版本。在 Delphi、C++Builder 與 Lazarus 程式碼中,請以 TPDFlibEnterprise(PDFlibEnterprise 單元)建立程式庫;Enterprise DLL 與 ActiveX 組建原樣提供。其他版本保留此方法,方法會傳回 0、空字串或 False,並將 LastErrorCode 設為 900(PDFLIB_ERROR_ENTERPRISE_REQUIRED)

描述

傳回最近一次 ApplyPAdESLongTermValidation 呼叫暫存的憑證數量。

語法

Delphi

Function TPDFlib.GetPAdESLTVCertificateCount: Integer; Virtual;

ActiveX

Function PDFlib::GetPAdESLTVCertificateCount() As Long

DLL

int DLGetPAdESLTVCertificateCount(int InstanceID);

傳回值

Count已暫存的數量,在下一次呼叫之前有效

備註

數量低於路徑長度代表有材料無法取得;原因請看 GetPAdESLTVError

另請參閱

ApplyPAdESLongTermValidation, GetPAdESLTVError