1gnutls_psk_set_server_credentials_filgeng(un3tu)ltsls_psk_set_server_credentials_file(3)
2
3
4
6 gnutls_psk_set_server_credentials_file - Used to set the password
7 files, in a gnutls_psk_server_credentials_t structure
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_psk_set_server_credentials_file(gnutls_psk_server_creden‐
13 tials_t res, const char * password_file);
14
16 gnutls_psk_server_credentials_t res
17 is an gnutls_psk_server_credentials_t structure.
18
19 const char * password_file
20 is the PSK password file (passwd.psk)
21
23 This function sets the password file, in a gnutls_psk_server_creden‐
24 tials_t structure. This password file holds usernames and keys and
25 will be used for PSK authentication.
26
27 Returns 0 on success.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 1g.n6u.t3ls_psk_set_server_credentials_file(3)