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 | MY와 같은 Windows 인증서 저장소 이름 |
|---|---|
| UseMachineStore | 로컬 컴퓨터 저장소에는 0이 아닌 값을, 현재 사용자 저장소에는 0을 사용합니다 |
반환 값
| 1 | 저장소 선택을 유지했습니다 |
|---|---|
| 0 | 저장소 이름이 비어 있습니다 |
비고
DLL은 ANSI 문자열용 DLSetPublicKeyDecryptionStoreA도 내보냅니다
참고 항목
SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential