1gnutls_psk_set_server_credentials_hingtng(un3tu)ltsls_psk_set_server_credentials_hint(3)
2
3
4
6 gnutls_psk_set_server_credentials_hint - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_psk_set_server_credentials_hint(gnutls_psk_server_creden‐
12 tials_t res, const char * hint);
13
15 gnutls_psk_server_credentials_t res
16 is a gnutls_psk_server_credentials_t type.
17
18 const char * hint
19 is the PSK identity hint string
20
22 This function sets the identity hint, in a gnutls_psk_server_creden‐
23 tials_t type. This hint is sent to the client to help it chose a good
24 PSK credential (i.e., username and password).
25
27 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an error code
28 is returned.
29
31 2.4.0
32
34 Report bugs to <bugs@gnutls.org>.
35 Home page: https://www.gnutls.org
36
37
39 Copyright © 2001-2019 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
42 notice and this notice are preserved.
43
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 3g.n6u.t8ls_psk_set_server_credentials_hint(3)