1gnutls_srp_set_client_credentials(3)gnutlsgnutls_srp_set_client_credentials(3)
2
3
4

NAME

6       gnutls_srp_set_client_credentials - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_srp_set_client_credentials(gnutls_srp_client_credentials_t
12       res, const char * username, const char * password);
13

ARGUMENTS

15       gnutls_srp_client_credentials_t res
16                   is a gnutls_srp_client_credentials_t type.
17
18       const char * username
19                   is the user's userid
20
21       const char * password
22                   is the user's password
23

DESCRIPTION

25       This   function   sets   the    username    and    password,    in    a
26       gnutls_srp_client_credentials_t  type.   Those  will  be  used  in  SRP
27       authentication.   username and  password should  be  ASCII  strings  or
28       UTF-8 strings prepared using the "SASLprep" profile of "stringprep".
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: http://www.gnutls.org
36
37
39       Copyright © 2001-2018 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
42       notice 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       http://www.gnutls.org/manual/
50
51gnutls                               3.6.5gnutls_srp_set_client_credentials(3)
Impressum