gnutls_psk_set_server_credentials_hint(3)

gnutls_psk_set_server_credentials_hint3

Api function

Usage

#include <gnutls/gnutls.h>

int gnutls_psk_set_server_credentials_hint(gnutls_psk_server_credentials_t res, const char * hint);

Arguments

gnutls_psk_server_credentials_t res

is a gnutls_psk_server_credentials_t type.

const char * hint

is the PSK identity hint string

Overview

This function sets the identity hint, in a gnutls_psk_server_credentials_t type. This hint is sent to the client to help it chose a good PSK credential (i.e., username and password).

Returns

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

Since

2.4.0

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. 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.