1gnutls_kx_set_priority(3) gnutls gnutls_kx_set_priority(3)
2
3
4
6 gnutls_kx_set_priority - API function
7
9 #include <gnutls/compat.h>
10
11 int gnutls_kx_set_priority(gnutls_session_t session, const int * list);
12
14 gnutls_session_t session
15 is a gnutls_session_t structure.
16
17 const int * list
18 is a 0 terminated list of gnutls_kx_algorithm_t elements.
19
21 Sets the priority on the key exchange algorithms supported by gnutls.
22 Priority is higher for elements specified before others. After speci‐
23 fying the algorithms you want, you must append a 0. Note that the pri‐
24 ority is set on the client. The server does not use the algorithm's
25 priority except for disabling algorithms that were not specified.
26
28 GNUTLS_E_SUCCESS on success, or an error code.
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: http://www.gnutls.org
33
34
36 Copyright © 2001-2014 Free Software Foundation, Inc..
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 http://www.gnutls.org/manual/
47
48gnutls 3.3.29 gnutls_kx_set_priority(3)