SetSignProcessPrivateKeyUI

Bezpečnosť a podpisy

Opis

Riadi, či môže provider súkromného kľúča viazaný na certifikát zobrazovať počas podpisovania používateľské rozhrania PIN, súhlas, token alebo cloud-approval

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

Syntax

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);

Parametre

SignProcessIDValue returned by a NewSignProcessFrom* function
AllowUITrue or nonzero to allow provider interaction, false or zero to require silent signing

Návratové hodnoty

1The setting was stored
0The process id was invalid

Poznámky

Tichý režim zostáva predvolený, aby sa nesamostatné služby nezasekli na neočakávanom okne providera

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

Pozri tiež

SetSignProcessCNGKey, SetSignProcessCertFromStore