Blame doc/functions/gnutls_x509_privkey_set_pin_function
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {void} {gnutls_x509_privkey_set_pin_function} (gnutls_x509_privkey_t @var{privkey}, gnutls_pin_callback_t @var{fn}, void * @var{userdata})
|
|
Packit Service |
4684c1 |
@var{privkey}: The certificate structure
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{fn}: the callback
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{userdata}: data associated with the callback
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will set a callback function to be used when
|
|
Packit Service |
4684c1 |
it is required to access a protected object. This function overrides
|
|
Packit Service |
4684c1 |
the global function set using @code{gnutls_pkcs11_set_pin_function()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Note that this callback is used when decrypting a key.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.4.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|