Debian Codegraph @

doc/functions/gnutls_kx_get

raw
1
2
3
4
5 @deftypefun {gnutls_kx_algorithm_t} {gnutls_kx_get} (gnutls_session_t @var{session})
6 @var{session}: is a @code{gnutls_session_t} type.
7
8 Get the currently used key exchange algorithm.
9
10 This function will return @code{GNUTLS_KX_ECDHE_RSA} , or @code{GNUTLS_KX_DHE_RSA}
11 under TLS 1.3, to indicate an elliptic curve DH key exchange or
12 a finite field one. The precise group used is available
13 by calling @code{gnutls_group_get()} instead.
14
15 @strong{Returns:} the key exchange algorithm used in the last handshake, a
16 @code{gnutls_kx_algorithm_t} value.
17 @end deftypefun