1gnutls_set_default_priority(3) gnutls gnutls_set_default_priority(3)
2
3
4
6 gnutls_set_default_priority - Sets some default priority on the cipher
7 suites supported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_set_default_priority(gnutls_session_t session);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
19 Sets some default priority on the ciphers, key exchange methods, macs
20 and compression methods. This is to avoid using the gnutls_*_priority()
21 functions, if these defaults are ok. You may override any of the fol‐
22 lowing priorities by calling the appropriate functions.
23
24 The order is TLS1, SSL3 for protocols. RSA, DHE_DSS, DHE_RSA for key
25 exchange algorithms. SHA, MD5 and RIPEMD160 for MAC algorithms.
26 AES_128_CBC, 3DES_CBC, and ARCFOUR_128 for ciphers.
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_set_default_priority(3)