Debian Codegraph @

doc/functions/gnutls_cipher_suite_info

raw
1
2
3
4
5 @deftypefun {const char *} {gnutls_cipher_suite_info} (size_t @var{idx}, unsigned char * @var{cs_id}, gnutls_kx_algorithm_t * @var{kx}, gnutls_cipher_algorithm_t * @var{cipher}, gnutls_mac_algorithm_t * @var{mac}, gnutls_protocol_t * @var{min_version})
6 @var{idx}: index of cipher suite to get information about, starts on 0.
7
8 @var{cs_id}: output buffer with room for 2 bytes, indicating cipher suite value
9
10 @var{kx}: output variable indicating key exchange algorithm, or @code{NULL} .
11
12 @var{cipher}: output variable indicating cipher, or @code{NULL} .
13
14 @var{mac}: output variable indicating MAC algorithm, or @code{NULL} .
15
16 @var{min_version}: output variable indicating TLS protocol version, or @code{NULL} .
17
18 Get information about supported cipher suites. Use the function
19 iteratively to get information about all supported cipher suites.
20 Call with idx=0 to get information about first cipher suite, then
21 idx=1 and so on until the function returns NULL.
22
23 @strong{Returns:} the name of @code{idx} cipher suite, and set the information
24 about the cipher suite in the output variables. If @code{idx} is out of
25 bounds, @code{NULL} is returned.
26 @end deftypefun