1gnutls_psk_server_get_username(3) gnutls gnutls_psk_server_get_username(3)
2
3
4
6 gnutls_psk_server_get_username - return the username of the peer
7
9 #include <gnutls/gnutls.h>
10
11 const char * gnutls_psk_server_get_username(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls session
16
18 This should only be called in case of PSK authentication and in case of
19 a server.
20
22 the username of the peer, or NULL in case of an error.
23
25 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
26 http://www.gnu.org/software/gnutls/ General help using GNU software:
27 http://www.gnu.org/gethelp/
28
30 Copyright © 2008 Free Software Foundation.
31 Copying and distribution of this file, with or without modification,
32 are permitted in any medium without royalty provided the copyright
33 notice and this notice are preserved.
34
36 The full documentation for gnutls is maintained as a Texinfo manual.
37 If the info and gnutls programs are properly installed at your site,
38 the command
39
40 info gnutls
41
42 should give you access to the complete manual.
43
44
45
46gnutls 2.8.6 gnutls_psk_server_get_username(3)