Blame doc/functions/gnutls_cipher_suite_get_name

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {const char *} {gnutls_cipher_suite_get_name} (gnutls_kx_algorithm_t       @var{kx_algorithm}, gnutls_cipher_algorithm_t       @var{cipher_algorithm}, gnutls_mac_algorithm_t       @var{mac_algorithm})
Packit Service 4684c1
@var{kx_algorithm}: is a Key exchange algorithm
Packit Service 4684c1
Packit Service 4684c1
@var{cipher_algorithm}: is a cipher algorithm
Packit Service 4684c1
Packit Service 4684c1
@var{mac_algorithm}: is a MAC algorithm
Packit Service 4684c1
Packit Service 4684c1
This function returns the ciphersuite name under TLS1.2 or earlier
Packit Service 4684c1
versions when provided with individual algorithms. The full cipher suite
Packit Service 4684c1
name must be prepended by TLS or SSL depending of the protocol in use.
Packit Service 4684c1
Packit Service 4684c1
To get a description of the current ciphersuite across versions, it
Packit Service 4684c1
is recommended to use @code{gnutls_session_get_desc()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} a string that contains the name of a TLS cipher suite,
Packit Service 4684c1
specified by the given algorithms, or @code{NULL} .
Packit Service 4684c1
@end deftypefun