1gnutls_priority_get_cipher_suite_indegxng(un3tu)ltsls_priority_get_cipher_suite_index(3)
2
3
4
6 gnutls_priority_get_cipher_suite_index - API function
7
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
15 gnutls_priority_t pcache
16 is a gnutls_prioritity_t structure.
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
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
34 On success it returns GNUTLS_E_SUCCESS (0), or a negative error value
35 otherwise.
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: http://www.gnutls.org
40
41
43 Copyright © 2001-2014 Free Software Foundation, Inc..
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 http://www.gnutls.org/manual/
54
55gnutls 3.g3n.u2t9ls_priority_get_cipher_suite_index(3)