1gnutls_psk_server_get_username(3) gnutls gnutls_psk_server_get_username(3)
2
3
4
6 gnutls_psk_server_get_username - This function returns the username of
7 the peer
8
10 #include <gnutls/gnutls.h>
11
12 const char * gnutls_psk_server_get_username(gnutls_session_t session);
13
15 gnutls_session_t session
16 is a gnutls session
17
19 This function will return the username of the peer. This should only be
20 called in case of PSK authentication and in case of a server. Returns
21 NULL in case of an error.
22
24 Report bugs to <bug-gnutls@gnu.org>.
25
27 Copyright © 2006 Free Software Foundation.
28 Permission is granted to make and distribute verbatim copies of this
29 manual provided the copyright notice and this permission notice are
30 preserved on all copies.
31
33 The full documentation for gnutls is maintained as a Texinfo manual.
34 If the info and gnutls programs are properly installed at your site,
35 the command
36
37 info gnutls
38
39 should give you access to the complete manual.
40
41
42
43gnutls 1.6.3 gnutls_psk_server_get_username(3)