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