1gnutls_srp_set_server_credentials_filgeng(un3tu)ltsls_srp_set_server_credentials_file(3)
2
3
4

NAME

6       gnutls_srp_set_server_credentials_file - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int    gnutls_srp_set_server_credentials_file(gnutls_srp_server_creden‐
12       tials_t  res,  const  char  *  password_file,  const   char   *   pass‐
13       word_conf_file);
14

ARGUMENTS

16       gnutls_srp_server_credentials_t res
17                   is a gnutls_srp_server_credentials_t type.
18
19       const char * password_file
20                   is the SRP password file (tpasswd)
21
22       const char * password_conf_file
23                   is the SRP password conf file (tpasswd.conf)
24

DESCRIPTION

26       This  function  sets the password files, in a gnutls_srp_server_creden‐
27       tials_t type.  Those password files hold usernames  and  verifiers  and
28       will be used for SRP authentication.
29

RETURNS

31       On success, GNUTLS_E_SUCCESS (0) is returned, or an error code.
32

REPORTING BUGS

34       Report bugs to <bugs@gnutls.org>.
35       Home page: https://www.gnutls.org
36
37
39       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
40       Copying  and  distribution  of this file, with or without modification,
41       are permitted in any medium without royalty provided the copyright  no‐
42       tice and this notice are preserved.
43

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3g.n8u.t2ls_srp_set_server_credentials_file(3)
Impressum