SSL_get0_group_name.pod 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. =pod
  2. =head1 NAME
  3. SSL_get0_group_name - get name of the group that was used for the key
  4. agreement of the current TLS session establishment
  5. =head1 SYNOPSIS
  6. #include <openssl/ssl.h>
  7. const char *SSL_get0_group_name(SSL *s);
  8. =head1 DESCRIPTION
  9. SSL_get0_group_name() returns the name of the group that was used for
  10. the key agreement of the current TLS session establishment.
  11. =head1 RETURN VALUES
  12. If non-NULL, SSL_get0_group_name() returns the name of the group that was used for
  13. the key agreement of the current TLS session establishment.
  14. If SSL_get0_group_name() returns NULL, an error occurred; possibly no TLS session
  15. has been established.
  16. Note that the return value is valid only during the lifetime of the
  17. SSL object I<ssl>.
  18. =head1 SEE ALSO
  19. L<ssl(7)>
  20. =head1 COPYRIGHT
  21. Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
  22. Licensed under the Apache License 2.0 (the "License"). You may not use
  23. this file except in compliance with the License. You can obtain a copy
  24. in the file LICENSE in the source distribution or at
  25. L<https://www.openssl.org/source/license.html>.
  26. =cut