1gnutls_cipher_suite_info(3) gnutls gnutls_cipher_suite_info(3)
2
3
4
6 gnutls_cipher_suite_info - API function
7
9 #include <gnutls/gnutls.h>
10
11 const char * gnutls_cipher_suite_info(size_t idx, char * cs_id,
12 gnutls_kx_algorithm_t * kx, gnutls_cipher_algorithm_t * cipher,
13 gnutls_mac_algorithm_t * mac, gnutls_protocol_t * version);
14
16 size_t idx index of cipher suite to get information about, starts on
17 0.
18
19 char * cs_id
20 output buffer with room for 2 bytes, indicating cipher
21 suite value
22
23 gnutls_kx_algorithm_t * kx
24 output variable indicating key exchange algorithm, or NULL.
25
26 gnutls_cipher_algorithm_t * cipher
27 output variable indicating cipher, or NULL.
28
29 gnutls_mac_algorithm_t * mac
30 output variable indicating MAC algorithm, or NULL.
31
32 gnutls_protocol_t * version
33 output variable indicating TLS protocol version, or NULL.
34
36 Get information about supported cipher suites. Use the function itera‐
37 tively to get information about all supported cipher suites. Call with
38 idx=0 to get information about first cipher suite, then idx=1 and so on
39 until the function returns NULL.
40
42 the name of idx cipher suite, and set the information about the cipher
43 suite in the output variables. If idx is out of bounds, NULL is
44 returned.
45
47 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
48 http://www.gnu.org/software/gnutls/ General help using GNU software:
49 http://www.gnu.org/gethelp/
50
52 Copyright © 2008 Free Software Foundation.
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright
55 notice and this notice are preserved.
56
58 The full documentation for gnutls is maintained as a Texinfo manual.
59 If the info and gnutls programs are properly installed at your site,
60 the command
61
62 info gnutls
63
64 should give you access to the complete manual.
65
66
67
68gnutls 2.8.6 gnutls_cipher_suite_info(3)