Debian Codegraph @

doc/functions/gnutls_x509_privkey_set_pin_function

raw
1
2
3
4
5 @deftypefun {void} {gnutls_x509_privkey_set_pin_function} (gnutls_x509_privkey_t @var{privkey}, gnutls_pin_callback_t @var{fn}, void * @var{userdata})
6 @var{privkey}: The certificate structure
7
8 @var{fn}: the callback
9
10 @var{userdata}: data associated with the callback
11
12 This function will set a callback function to be used when
13 it is required to access a protected object. This function overrides
14 the global function set using @code{gnutls_pkcs11_set_pin_function()} .
15
16 Note that this callback is used when decrypting a key.
17
18 @strong{Since:} 3.4.0
19 @end deftypefun