SetSignProcessEd25519IdentityFromFile

אבטחה וחתימות

תיאור

Loads an Ed25519 X.509 certificate and private key from DER files and attaches them to a PDF signing process

תחביר

Delphi

Function TPDFlib.SetSignProcessEd25519IdentityFromFile(SignProcessID: Integer; Const CertificateFile, PrivateKeyFile: WideString): Integer;

ActiveX

Function PDFlib::SetSignProcessEd25519IdentityFromFile(SignProcessID As Long, CertificateFile As String, PrivateKeyFile As String) As Long

DLL

int DLSetSignProcessEd25519IdentityFromFile(int InstanceID, int SignProcessID, const wchar_t* CertificateFile, const wchar_t* PrivateKeyFile);

פרמטרים

SignProcessIDValue returned by a NewSignProcessFrom* function
CertificateFilePath to a DER-encoded Ed25519 X.509 certificate
PrivateKeyFilePath to a raw 32-byte seed or unencrypted PKCS #8 DER private key

ערכי החזרה

1Both files were read and the identity was attached to the process
0A file or process id was invalid

הערות

ה-DLL מייצא גם DLSetSignProcessEd25519IdentityFromFileA עבור נתיבי ANSIאת התעודה והמפתח הפרטי מחזיק תהליך החתימה, כך שאת קובצי המקור אפשר לסגור או להחליף אחרי שהקריאה הזו חוזרת

ראו גם

SetSignProcessEd25519Identity, SetSignProcessPFXFromFile, SetSignProcessSubFilter