GetPAdESSignatureTimeStampProcessResult

安全與簽章

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

描述

傳回 PAdES 簽章時間戳記程序記錄的最後結果代碼

結果碼 17 表示該簽章無法取得時間戳記,因為檔案中較晚的簽章或文件時間戳記涵蓋了它的簽章值;改寫該值會讓較晚的簽章失效,因此流程會停止且不產生輸出

語法

Delphi

Function TPDFlib.GetPAdESSignatureTimeStampProcessResult(STSProcessID: Integer): Integer; Virtual;

ActiveX

Function PDFlib::GetPAdESSignatureTimeStampProcessResult(STSProcessID As Long) As Long

DLL

int DLGetPAdESSignatureTimeStampProcessResult(int InstanceID, int STSProcessID);

參數

STSProcessID任一 NewPAdESSignatureTimeStampProcessFrom* 函式傳回的值

傳回值

傳回已儲存的程序結果代碼;process id 無效時傳回 0

另請參閱

EndPAdESSignatureTimeStampProcessToFile