Blame doc/functions/gnutls_srp_set_client_credentials

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_srp_set_client_credentials} (gnutls_srp_client_credentials_t @var{res}, const char * @var{username}, const char * @var{password})
Packit Service 4684c1
@var{res}: is a @code{gnutls_srp_client_credentials_t}  type.
Packit Service 4684c1
Packit Service 4684c1
@var{username}: is the user's userid
Packit Service 4684c1
Packit Service 4684c1
@var{password}: is the user's password
Packit Service 4684c1
Packit Service 4684c1
This function sets the username and password, in a
Packit Service 4684c1
@code{gnutls_srp_client_credentials_t}  type.  Those will be used in
Packit Service 4684c1
SRP authentication.   @code{username} should be an ASCII string or UTF-8
Packit Service 4684c1
string. In case of a UTF-8 string it is recommended to be following
Packit Service 4684c1
the PRECIS framework for usernames (rfc8265). The password can
Packit Service 4684c1
be in ASCII format, or normalized using @code{gnutls_utf8_password_normalize()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, or an
Packit Service 4684c1
error code.
Packit Service 4684c1
@end deftypefun