Blame doc/functions/gnutls_psk_client_get_hint

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {const char *} {gnutls_psk_client_get_hint} (gnutls_session_t @var{session})
Packit Service 4684c1
@var{session}: is a gnutls session
Packit Service 4684c1
Packit Service 4684c1
The PSK identity hint may give the client help in deciding which
Packit Service 4684c1
username to use.  This should only be called in case of PSK
Packit Service 4684c1
authentication and in case of a client.
Packit Service 4684c1
Packit Service 4684c1
@strong{Note:} there is no hint in TLS 1.3, so this function will return @code{NULL} 
Packit Service 4684c1
if TLS 1.3 has been negotiated.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} the identity hint of the peer, or @code{NULL}  in case of an error or if TLS 1.3 is being used.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 2.4.0
Packit Service 4684c1
@end deftypefun