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 | 本機(local machine)存放區用非零值;目前使用者存放區用零 |
傳回值
| 1 | 存放區選擇已保留 |
|---|---|
| 0 | The store name was empty |
備註
DLL 另外匯出 ANSI 字串用的 DLSetPublicKeyDecryptionStoreA
另請參閱
SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential