NewPAdESSignatureTimeStampProcessFromString

安全與簽章

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

描述

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

語法

Delphi

Function TPDFlib.NewPAdESSignatureTimeStampProcessFromString(Const Source: AnsiString; Const Password: WideString): Integer; Virtual;

ActiveX

Function PDFlib::NewPAdESSignatureTimeStampProcessFromString(Source As Variant, Password As String) As Long

DLL

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

參數

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

傳回值

傳回新的 STSProcessID

另請參閱

SetPAdESSignatureTimeStampField, EndPAdESSignatureTimeStampProcessToString