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 au‐
27       thentication.   username should be an ASCII string or UTF-8 string.  In
28       case  of  a  UTF-8  string it is recommended to be following the PRECIS
29       framework for usernames (rfc8265). The password can be in ASCII format,
30       or normalized using gnutls_utf8_password_normalize().
31

RETURNS

33       On success, GNUTLS_E_SUCCESS (0) is returned, or an error code.
34

REPORTING BUGS

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

SEE ALSO

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