1gnutls_psk_set_server_credentials_filgeng(un3tu)ltsls_psk_set_server_credentials_file(3)
2
3
4

NAME

6       gnutls_psk_set_server_credentials_file - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int    gnutls_psk_set_server_credentials_file(gnutls_psk_server_creden‐
12       tials_t                                         res, const char * pass‐
13       word_file);
14

ARGUMENTS

16       gnutls_psk_server_credentials_t
17       res
18                   is a gnutls_psk_server_credentials_t structure.
19
20       const char * password_file
21                   is the PSK password file (passwd.psk)
22

DESCRIPTION

24       This function sets the password file,  in  a  gnutls_psk_server_creden‐
25       tials_t  structure.   This  password  file holds usernames and keys and
26       will be used for PSK authentication.
27

RETURNS

29       GNUTLS_E_SUCCESS on success, or an error code.
30

REPORTING BUGS

32       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
33       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
34       http://www.gnu.org/gethelp/
35
37       Copyright © 2008 Free Software Foundation.
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted  in  any  medium  without royalty provided the copyright
40       notice and this notice are preserved.
41

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the  info  and gnutls programs are properly installed at your site,
45       the command
46
47              info gnutls
48
49       should give you access to the complete manual.
50
51
52
53gnutls                             2.1g2n.u6t.l1s_psk_set_server_credentials_file(3)
Impressum