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
21       under TLS 1.3, to indicate an elliptic  curve  DH  key  exchange  or  a
22       finite  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
27       gnutls_kx_algorithm_t value.
28

REPORTING BUGS

30       Report bugs to <bugs@gnutls.org>.
31       Home page: https://www.gnutls.org
32
33
35       Copyright © 2001- 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
38       notice 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.6.15                    gnutls_kx_get(3)
Impressum