gnutls_session_get_desc — API function

Synopsis

#include <gnutls/gnutls.h>

char * gnutls_session_get_desc(gnutls_session_t session);

Arguments

gnutls_session_t session

is a gnutls session

Description

This function returns a string describing the current session. The string is null terminated and allocated using gnutls_malloc().

If initial negotiation is not complete when this function is called, NULL will be returned.

Returns

a description of the protocols and algorithms in the current session.

Since

3.1.10

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

Info

3.6.9 gnutls