| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {gnutls_srp_set_server_credentials_file} (gnutls_srp_server_credentials_t @var{res}, const char * @var{password_file}, const char * @var{password_conf_file}) |
| 6 |
@var{res}: is a @code{gnutls_srp_server_credentials_t} type. |
| 7 |
|
| 8 |
@var{password_file}: is the SRP password file (tpasswd) |
| 9 |
|
| 10 |
@var{password_conf_file}: is the SRP password conf file (tpasswd.conf) |
| 11 |
|
| 12 |
This function sets the password files, in a |
| 13 |
@code{gnutls_srp_server_credentials_t} type. Those password files |
| 14 |
hold usernames and verifiers and will be used for SRP |
| 15 |
authentication. |
| 16 |
|
| 17 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, or an |
| 18 |
error code. |
| 19 |
@end deftypefun |