1gnutls_kx_get(3)                    gnutls                    gnutls_kx_get(3)
2
3
4

NAME

6       gnutls_kx_get - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       gnutls_kx_algorithm_t gnutls_kx_get(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16

DESCRIPTION

18       Get the currently used key exchange algorithm.
19
20       This function will return GNUTLS_KX_ECDHE_RSA, or GNUTLS_KX_DHE_RSA un‐
21       der TLS 1.3, to indicate an elliptic curve DH key exchange or a  finite
22       field   one.   The   precise   group   used  is  available  by  calling
23       gnutls_group_get() instead.
24

RETURNS

26       the key exchange algorithm used in the last handshake, a  gnutls_kx_al‐
27       gorithm_t value.
28

REPORTING BUGS

30       Report bugs to <bugs@gnutls.org>.
31       Home page: https://www.gnutls.org
32
33
35       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
36       Copying  and  distribution  of this file, with or without modification,
37       are permitted in any medium without royalty provided the copyright  no‐
38       tice and this notice are preserved.
39

SEE ALSO

41       The  full  documentation  for gnutls is maintained as a Texinfo manual.
42       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
43       visit
44
45       https://www.gnutls.org/manual/
46
47gnutls                               3.8.2                    gnutls_kx_get(3)
Impressum