summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_pkcs11_set_pin_function
blob: 22d8802084dfbdaea8208cf5bf2ad54d8bf8b956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@deftypefun {void} {gnutls_pkcs11_set_pin_function} (gnutls_pin_callback_t @var{fn}, void * @var{userdata})
@var{fn}: The PIN callback, a @code{gnutls_pin_callback_t()}  function.

@var{userdata}: data to be supplied to callback

This function will set a callback function to be used when a PIN is
required for PKCS 11 operations.  See
@code{gnutls_pin_callback_t()}  on how the callback should behave.

@strong{Since:} 2.12.0
@end deftypefun