1gnutls_priority_set_direct(3) gnutls gnutls_priority_set_direct(3)
2
3
4
6 gnutls_priority_set_direct - Sets priorities for the cipher suites sup‐
7 ported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_priority_set_direct(gnutls_session_t session, const char *
13 priorities, const char ** err_pos);
14
16 gnutls_session_t session
17 is a gnutls_session_t structure.
18
19 const char * priorities
20 is a string describing priorities
21
22 const char ** err_pos
23 In case of an error this will have the position in the
24 string the error occured
25
27 Sets the priorities to use on the ciphers, key exchange methods, macs
28 and compression methods. This function avoids keeping a priority cache
29 and is used to directly set string priorities to a TLS session. For
30 documentation check the gnutls_priority_init().
31
33 On syntax error GNUTLS_E_INVALID_REQUEST is returned, GNUTLS_E_SUCCESS
34 on success, or an error code.
35
37 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
38 http://www.gnu.org/software/gnutls/ General help using GNU software:
39 http://www.gnu.org/gethelp/
40
42 Copyright © 2008 Free Software Foundation.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the info and gnutls programs are properly installed at your site,
50 the command
51
52 info gnutls
53
54 should give you access to the complete manual.
55
56
57
58gnutls 2.8.6 gnutls_priority_set_direct(3)