1gnutls_psk_client_get_hint(3)       gnutls       gnutls_psk_client_get_hint(3)
2
3
4

NAME

6       gnutls_psk_client_get_hint - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       const char * gnutls_psk_client_get_hint(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls session
16

DESCRIPTION

18       The  PSK identity hint may give the client help in deciding which user‐
19       name to use.  This should only be called in case of PSK  authentication
20       and in case of a client.
21

NOTE

23       there  is  no hint in TLS 1.3, so this function will return NULL if TLS
24       1.3 has been negotiated.
25

RETURNS

27       the identity hint of the peer, or NULL in case of an error  or  if  TLS
28       1.3 is being used.
29

SINCE

31       2.4.0
32

REPORTING BUGS

34       Report bugs to <bugs@gnutls.org>.
35       Home page: https://www.gnutls.org
36
37
39       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
40       Copying  and  distribution  of this file, with or without modification,
41       are permitted in any medium without royalty provided the copyright  no‐
42       tice and this notice are preserved.
43

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3.8.2       gnutls_psk_client_get_hint(3)
Impressum