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_prioritity_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
26       gnutls_cipher_suite_info(). The index  idx provided is an index kept at
27       the priorities structure. It might be that  a  valid  priorities  index
28       does   not   correspond   to   a   ciphersuite   and   in   that   case
29       GNUTLS_E_UNKNOWN_CIPHER_SUITE will be returned.  Once the  last  avail‐
30       able  index  is crossed then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will
31       be returned.
32

RETURNS

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

SINCE

38       3.0.9
39

REPORTING BUGS

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

SEE ALSO

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