1gnutls_set_default_export_priority(3)gnutlsgnutls_set_default_export_priority(3)
2
3
4
6 gnutls_set_default_export_priority - Sets some default priority on the
7 cipher suites supported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_set_default_export_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. This function also includes weak
22 algorithms. The order is TLS1, SSL3 for protocols, RSA, DHE_DSS,
23 DHE_RSA, RSA_EXPORT for key exchange algorithms. SHA, MD5, RIPEMD160
24 for MAC algorithms, AES_256_CBC, AES_128_CBC, and 3DES_CBC, ARC‐
25 FOUR_128, ARCFOUR_40 for ciphers.
26
27 Returns 0 on success.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 1.6.3gnutls_set_default_export_priority(3)