SSL_GET0_GROUP_NAME(3ssl) OpenSSL SSL_GET0_GROUP_NAME(3ssl)

SSL_get0_group_name - get name of the group that was used for the key agreement of the current TLS session establishment

#include <openssl/ssl.h>
const char *SSL_get0_group_name(SSL *s);

SSL_get0_group_name() returns the name of the group that was used for the key agreement of the current TLS session establishment.

If non-NULL, SSL_get0_group_name() returns the name of the group that was used for the key agreement of the current TLS session establishment. If SSL_get0_group_name() returns NULL, an error occurred; possibly no TLS session has been established.

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

ssl(7)

Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

2024-10-23 3.4.0