1gnutls_psk_set_server_credentials_filgeng(un3tu)ltsls_psk_set_server_credentials_file(3)
2
3
4
6 gnutls_psk_set_server_credentials_file - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_psk_set_server_credentials_file(gnutls_psk_server_creden‐
12 tials_t res, const char * password_file);
13
15 gnutls_psk_server_credentials_t res
16 is a gnutls_psk_server_credentials_t type.
17
18 const char * password_file
19 is the PSK password file (passwd.psk)
20
22 This function sets the password file, in a gnutls_psk_server_creden‐
23 tials_t type. This password file holds usernames and keys and will be
24 used for PSK authentication.
25
27 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an error code
28 is returned.
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: https://www.gnutls.org
33
34
36 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 https://www.gnutls.org/manual/
47
48gnutls 3g.n6u.t8ls_psk_set_server_credentials_file(3)