1gnutls_srp_server_get_username(3) gnutls gnutls_srp_server_get_username(3)
2
3
4
6 gnutls_srp_server_get_username - API function
7
9 #include <gnutls/gnutls.h>
10
11 const char * gnutls_srp_server_get_username(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls session
16
18 This function will return the username of the peer. This should only
19 be called in case of SRP authentication and in case of a server.
20 Returns NULL in case of an error.
21
23 SRP username of the peer, or NULL in case of error.
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: https://www.gnutls.org
28
29
31 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 https://www.gnutls.org/manual/
42
43gnutls 3.6.11 gnutls_srp_server_get_username(3)