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 * password_file);
13

ARGUMENTS

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

DESCRIPTION

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

RETURNS

27       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an  error  code
28       is returned.
29

REPORTING BUGS

31       Report bugs to <bugs@gnutls.org>.
32       Home page: http://www.gnutls.org
33
34
36       Copyright © 2001-2014 Free Software Foundation, Inc..
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

SEE ALSO

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       http://www.gnutls.org/manual/
47
48gnutls                              3.g3n.u2t9ls_psk_set_server_credentials_file(3)
Impressum