Blame doc/functions/gnutls_x509_crt_set_pin_function
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {void} {gnutls_x509_crt_set_pin_function} (gnutls_x509_crt_t @var{crt}, gnutls_pin_callback_t @var{fn}, void * @var{userdata})
|
|
Packit |
aea12f |
@var{crt}: The certificate structure
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{fn}: the callback
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{userdata}: data associated with the callback
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will set a callback function to be used when
|
|
Packit Service |
991b93 |
it is required to access a protected object. This function overrides
|
|
Packit |
aea12f |
the global function set using @code{gnutls_pkcs11_set_pin_function()} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
Note that this callback is currently used only during the import
|
|
Packit |
aea12f |
of a PKCS @code{11} certificate with @code{gnutls_x509_crt_import_url()} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.1.0
|
|
Packit |
aea12f |
@end deftypefun
|