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

パラメータ

StoreNameMY などの Windows 証明書ストア名
UseMachineStoreローカルマシンストアにはゼロ以外、現在のユーザーストアにはゼロを使用する

戻り値

1ストアの選択を保持しました
0ストア名が空でした

備考

DLL は ANSI 文字列用に DLSetPublicKeyDecryptionStoreA もエクスポートする

関連項目

SetPublicKeyDecryptionPFX、ClearPublicKeyDecryptionCredential