1gnutls_priority_get_cipher_suite_indegxng(un3tu)ltsls_priority_get_cipher_suite_index(3)
2
3
4

NAME

6       gnutls_priority_get_cipher_suite_index - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_priority_get_cipher_suite_index(gnutls_priority_t  pcache,
12       unsigned int idx, unsigned int * sidx);
13

ARGUMENTS

15       gnutls_priority_t pcache
16                   is a gnutls_priority_t type.
17
18       unsigned int idx
19                   is an index number.
20
21       unsigned int * sidx
22                   internal index of cipher suite to get information about.
23

DESCRIPTION

25       Provides the internal ciphersuite index  to  be  used  with  gnutls_ci‐
26       pher_suite_info(). The index  idx provided is an index kept at the pri‐
27       orities structure. It might be that a valid priorities index  does  not
28       correspond  to  a  ciphersuite  and  in  that case GNUTLS_E_UNKNOWN_CI‐
29       PHER_SUITE will be returned.  Once the last available index is  crossed
30       then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
31

RETURNS

33       On  success  it returns GNUTLS_E_SUCCESS (0), or a negative error value
34       otherwise.
35

SINCE

37       3.0.9
38

REPORTING BUGS

40       Report bugs to <bugs@gnutls.org>.
41       Home page: https://www.gnutls.org
42
43
45       Copyright © 2001- Free Software Foundation, Inc., and others.
46       Copying and distribution of this file, with  or  without  modification,
47       are  permitted in any medium without royalty provided the copyright no‐
48       tice and this notice are preserved.
49

SEE ALSO

51       The full documentation for gnutls is maintained as  a  Texinfo  manual.
52       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
53       visit
54
55       https://www.gnutls.org/manual/
56
57gnutls                               3g.n7u.t8ls_priority_get_cipher_suite_index(3)
Impressum