SetSignProcessPrivateKeyUI
Sigurnost i potpisi
Opis
Controls whether a certificate-bound CNG private-key provider may display PIN, consent, token, or cloud-approval user interfaces during signing
Ova se postavka primjenjuje na identitete odabrane kroz PFX datoteku, Windows spremište certifikata ili kontekst certifikata; izričiti CNG ključni API-ji nose vlastiti parametar AllowUI
Sintaksa
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);
Parametri
| SignProcessID | Value returned by a NewSignProcessFrom* function |
|---|---|
| AllowUI | True or nonzero to allow provider interaction, false or zero to require silent signing |
Povratne vrijednosti
| 1 | The setting was stored |
|---|---|
| 0 | ID procesa nije bio valjan |
Napomene
Tihi način rada ostaje zadani pa nenadzirane usluge ne blokiraju na neočekivanom prozoru pružatelja
Interactive mode routes RSA and ECDSA detached signatures through NCrypt and omits NCRYPT_SILENT_FLAG