gnutls_priority_get_cipher_suite(3) gnutls gnutls_priority_get_cipher_suite(3)
NAME
gnutls_priority_get_cipher_suite - API function
SYNOPSIS
#include <gnutls/gnutls.h> gnutls_priority_get_cipher_suite(3) pcache, int idx, const char** name, unsigned char cs_id[2]);
ARGUMENTS
gnutls_priority_t pcache is a gnutls_prioritity_t structure. int idx is an index number const char** name Will point to the ciphersuite name unsigned char cs_id[2] -- undescribed --
DESCRIPTION
Provides ciphersuite information. The index provided is an internal index kept at the priorities structure. It might be that a valid index does not correspond to a ciphersuite and in that case GNUTLS_E_UNKNOWN_CIPHER_SUITE will be returned. Once the last available index is crossed then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
RETURNS
On success it returns GNUTLS_E_SUCCESS (0), or a negative error value otherwise.
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
COPYRIGHT
Copyright (C) 2011 Free Software Foundation. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command info gnutls should give you access to the complete manual. gnutls 3.0.8 gnutls_priority_get_cipher_suite(3)
gnutl 3.0.9 - Generated Sun Jan 8 06:47:29 CST 2012