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, unsigned char *
12 cs_id, gnutls_kx_algorithm_t * kx, gnutls_cipher_algorithm_t * cipher,
13 gnutls_mac_algorithm_t * mac, gnutls_protocol_t * min_version);
14
16 size_t idx index of cipher suite to get information about, starts on
17 0.
18
19 unsigned 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 * min_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 re‐
44 turned.
45
47 Report bugs to <bugs@gnutls.org>.
48 Home page: https://www.gnutls.org
49
50
52 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright no‐
55 tice and this notice are preserved.
56
58 The full documentation for gnutls is maintained as a Texinfo manual.
59 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
60 visit
61
62 https://www.gnutls.org/manual/
63
64gnutls 3.8.2 gnutls_cipher_suite_info(3)