SetPublicKeyDecryptionStore

Keamanan dan tanda tangan

Deskripsi

Mengeset Windows certificate store yang dicari untuk private key penerima yang cocok selama pemuatan dokumen berikutnya

Sintaks

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);

Parameter

StoreNameNama penyimpanan sertifikat Windows seperti MY
UseMachineStoreGunakan nilai bukan nol untuk local-machine store atau nol untuk current-user store

Nilai kembalian

1Pemilihan store dipertahankan
0The store name was empty

Catatan

DLL juga mengekspor DLSetPublicKeyDecryptionStoreA untuk string ANSI

Lihat juga

SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential