SSL_get0_group_name.pod 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. See also L<SSL_get_negotiated_group(3)>.
  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. L<SSL_get_negotiated_group(3)>
  21. =head1 COPYRIGHT
  22. Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
  23. Licensed under the Apache License 2.0 (the "License"). You may not use
  24. this file except in compliance with the License. You can obtain a copy
  25. in the file LICENSE in the source distribution or at
  26. L<https://www.openssl.org/source/license.html>.
  27. =cut