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 a 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
28 GNUTLS_E_SUCCESS on success, or an error code.
29
31 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
32 http://www.gnu.org/software/gnutls/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2008 Free Software Foundation.
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 info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls 2g.n8u.t6ls_psk_set_server_credentials_file(3)