SetPublicKeyDecryptionStore
אבטחה וחתימות
תיאור
מגדירה את מאגר התעודות של Windows שיחפשו בו מפתח פרטי נמען תואם במהלך טעינות מסמך עוקבות
תחביר
Delphi
Function TPDFlib.SetPublicKeyDecryptionStore(Const StoreName: WideString; UseMachineStore: Integer): Integer;
ActiveX
Function PDFlib::SetPublicKeyDecryptionStore(StoreName As String, UseMachineStore As Long) As Long
DLL
int DLSetPublicKeyDecryptionStore(int InstanceID, const wchar_t* StoreName, int UseMachineStore);
פרמטרים
| StoreName | שם של מאגר האישורים של Windows, כגון MY |
|---|---|
| UseMachineStore | Use a nonzero value for the local-machine store or zero for the current-user store |
ערכי החזרה
| 1 | The store selection was retained |
|---|---|
| 0 | The store name was empty |
הערות
ה-DLL מייצא גם DLSetPublicKeyDecryptionStoreA עבור מחרוזות ANSI
ראה גם
SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential