| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {void} {gnutls_x509_crt_set_pin_function} (gnutls_x509_crt_t @var{crt}, gnutls_pin_callback_t @var{fn}, void * @var{userdata}) |
| 6 |
@var{crt}: 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 currently used only during the import |
| 17 |
of a PKCS @code{11} certificate with @code{gnutls_x509_crt_import_url()} . |
| 18 |
|
| 19 |
@strong{Since:} 3.1.0 |
| 20 |
@end deftypefun |