SetPublicKeyDecryptionStore
ความปลอดภัยและลายเซ็น
คำอธิบาย
ตั้ง certificate store ของ Windows ที่จะค้นหา private key ของผู้รับที่ตรงกันระหว่างการโหลดเอกสารครั้งถัดๆ ไป
ไวยากรณ์
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 | ใช้ค่าไม่เท่าศูนย์สำหรับสโตร์ระดับเครื่อง หรือศูนย์สำหรับสโตร์ระดับผู้ใช้ปัจจุบัน |
ค่าที่ส่งคืน
| 1 | เก็บการเลือกสโตร์ไว้เรียบร้อยแล้ว |
|---|---|
| 0 | The store name was empty |
หมายเหตุ
DLL ยังส่งออก DLSetPublicKeyDecryptionStoreA สำหรับสตริง ANSI
ดูเพิ่มเติม
SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential