gnutls_srp_set_server_credentials_file(3)

gnutls_srp_set_server_credentials_file3

Api function

Usage

#include <gnutls/gnutls.h>

int gnutls_srp_set_server_credentials_file(gnutls_srp_server_credentials_t res, const char * password_file, const char * password_conf_file);

Arguments

gnutls_srp_server_credentials_t res

is a gnutls_srp_server_credentials_t type.

const char * password_file

is the SRP password file (tpasswd)

const char * password_conf_file

is the SRP password conf file (tpasswd.conf)

Overview

This function sets the password files, in a gnutls_srp_server_credentials_t type. Those password files hold usernames and verifiers and will be used for SRP authentication.

Returns

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

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.