1gnutls_certificate_type_set_priority(g3n)utglnsutls_certificate_type_set_priority(3)
2
3
4
6 gnutls_certificate_type_set_priority - Sets the priority on the cer‐
7 tificate types supported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_certificate_type_set_priority(gnutls_session_t session,
13 const int * 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_certificate_type_t ele‐
21 ments.
22
24 Sets the priority on the certificate types supported by gnutls. Prior‐
25 ity is higher for types specified before others. After specifying the
26 types you want, you must append a 0. Note that the certificate type
27 priority is set on the client. The server does not use the cert type
28 priority except for disabling types 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.6g.n3utls_certificate_type_set_priority(3)