| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {gnutls_psk_set_server_credentials_hint} (gnutls_psk_server_credentials_t @var{res}, const char * @var{hint}) |
| 6 |
@var{res}: is a @code{gnutls_psk_server_credentials_t} type. |
| 7 |
|
| 8 |
@var{hint}: is the PSK identity hint string |
| 9 |
|
| 10 |
This function sets the identity hint, in a |
| 11 |
@code{gnutls_psk_server_credentials_t} type. This hint is sent to |
| 12 |
the client to help it chose a good PSK credential (i.e., username |
| 13 |
and password). |
| 14 |
|
| 15 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise |
| 16 |
an error code is returned. |
| 17 |
|
| 18 |
@strong{Since:} 2.4.0 |
| 19 |
@end deftypefun |