SSL_group_to_name(3ssl)

SSL_group_to_name3ssl

Get name of group

Usage

 #include <openssl/ssl.h>
 const char *SSL_group_to_name(SSL *ssl, int id);

Overview

SSL_group_to_name() is used to retrieve the TLS group name associated with a given TLS group ID, as registered via built-in or external providers and as returned by a call to SSL_get1_groups() or SSL_get_shared_group().

Return values

If non-NULL, SSL_group_to_name() returns the TLS group name corresponding to the given id as a NUL-terminated string. If SSL_group_to_name() returns NULL, an error occurred; possibly no corresponding tlsname was registered during provider initialisation.

Note that the return value is valid only during the lifetime of the SSL object ssl.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.