1gnutls_kx_set_priority(3) gnutls gnutls_kx_set_priority(3)
2
3
4
6 gnutls_kx_set_priority - Sets the priority on the key exchange algo‐
7 rithms supported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_kx_set_priority(gnutls_session_t session, const int * list);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 const int * list
19 is a 0 terminated list of gnutls_kx_algorithm_t elements.
20
22 Sets the priority on the key exchange algorithms supported by gnutls.
23 Priority is higher for algorithms specified before others. After spec‐
24 ifying the algorithms you want, you must append a 0. Note that the
25 priority is set on the client. The server does not use the algorithm's
26 priority except for disabling algorithms that were not specified.
27
28 Returns 0 on success.
29
31 Report bugs to <bug-gnutls@gnu.org>.
32
34 Copyright © 2006 Free Software Foundation.
35 Permission is granted to make and distribute verbatim copies of this
36 manual provided the copyright notice and this permission notice are
37 preserved on all copies.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the info and gnutls programs are properly installed at your site,
42 the command
43
44 info gnutls
45
46 should give you access to the complete manual.
47
48
49
50gnutls 1.6.3 gnutls_kx_set_priority(3)