SetSignProcessPrivateKeyUI

ความปลอดภัยและลายเซ็น

คำอธิบาย

ควบคุมว่า provider private key แบบผูกใบรับรองผ่าน CNG แสดง UI แบบ PIN, คำขอยินยอม, token หรือการอนุมัติผ่าน cloud ระหว่างการลงลายเซ็นได้หรือไม่

This setting applies to identities selected through a PFX file, Windows certificate store, or certificate context; explicit CNG key APIs carry their own AllowUI parameter

ไวยากรณ์

Delphi

Function TPDFlib.SetSignProcessPrivateKeyUI(SignProcessID: Integer; AllowUI: Boolean): Integer;

ActiveX

Function PDFlib::SetSignProcessPrivateKeyUI(SignProcessID As Long, AllowUI As Long) As Long

DLL

int DLSetSignProcessPrivateKeyUI(int InstanceID, int SignProcessID, int AllowUI);

พารามิเตอร์

SignProcessIDValue returned by a NewSignProcessFrom* function
AllowUITrue หรือไม่เท่าศูนย์เพื่ออนุญาตให้ provider โต้ตอบ, false หรือศูนย์เพื่อบังคับลงลายเซ็นแบบเงียบ

ค่าที่ส่งกลับ

1The setting was stored
0process id ไม่ถูกต้อง

หมายเหตุ

โหมดเงียบยังเป็นค่าเริ่มต้น บริการที่ทำงานอัตโนมัติจึงไม่ติดขัดกับหน้าต่างของ provider ที่คาดไม่ถึง

Interactive mode routes RSA and ECDSA detached signatures through NCrypt and omits NCRYPT_SILENT_FLAG

ดูเพิ่มเติม

SetSignProcessCNGKey, SetSignProcessCertFromStore