1SSL_GROUP_TO_NAME(3ossl) OpenSSL SSL_GROUP_TO_NAME(3ossl)
2
3
4
6 SSL_group_to_name - get name of group
7
9 #include <openssl/ssl.h>
10
11 const char *SSL_group_to_name(const SSL *ssl, int id);
12
14 SSL_group_to_name() is used to retrieve the TLS group name associated
15 with a given TLS group ID, as registered via built-in or external
16 providers and as returned by a call to SSL_get1_groups() or
17 SSL_get_shared_group().
18
20 If non-NULL, SSL_group_to_name() returns the TLS group name
21 corresponding to the given id as a NUL-terminated string. If
22 SSL_group_to_name() returns NULL, an error occurred; possibly no
23 corresponding tlsname was registered during provider initialisation.
24
25 Note that the return value is valid only during the lifetime of the SSL
26 object ssl.
27
29 ssl(7)
30
32 Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
33
34 Licensed under the Apache License 2.0 (the "License"). You may not use
35 this file except in compliance with the License. You can obtain a copy
36 in the file LICENSE in the source distribution or at
37 <https://www.openssl.org/source/license.html>.
38
39
40
413.1.1 2023-08-31 SSL_GROUP_TO_NAME(3ossl)