NewPAdESSignatureTimeStampProcessFromStringA

安全與簽章

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

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 NewPAdESSignatureTimeStampProcessFromString 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

從記憶體中的 PDF 位元組開始 PAdES 簽章時間戳記增強程序

語法

Delphi

Function DLNewPAdESSignatureTimeStampProcessFromStringA(InstanceID: Integer; Source: PAnsiChar; SourceLength: Integer; Password: PAnsiChar): Integer;

DLL

int DLNewPAdESSignatureTimeStampProcessFromStringA(int InstanceID, const char* Source, int SourceLength, const char* Password);

參數

Source已簽署 PDF 的位元組
Password加密輸入的開啟密碼;空字串表示無

傳回值

傳回新的 STSProcessID

另請參閱

SetPAdESSignatureTimeStampField, EndPAdESSignatureTimeStampProcessToString