SetSignProcessPrivateKeyUI
Beveiliging en handtekeningen
Beschrijving
Controls whether a certificate-bound CNG private-key provider may display PIN, consent, token, or cloud-approval user interfaces during signing
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
Syntaxis
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);
Parameters
| SignProcessID | Een waarde geretourneerd door een NewSignProcessFrom*-functie |
|---|---|
| AllowUI | True or nonzero to allow provider interaction, false or zero to require silent signing |
Retourwaarden
| 1 | De instelling is opgeslagen |
|---|---|
| 0 | Het proces-ID was ongeldig |
Opmerkingen
Stille modus blijft de standaard, zodat onbeheerde services niet blokkeren op een onverwacht providervenster
Interactive mode routes RSA and ECDSA detached signatures through NCrypt and omits NCRYPT_SILENT_FLAG