@deftypefun {gnutls_cipher_algorithm_t} {gnutls_cipher_get} (gnutls_session_t @var{session}) @var{session}: is a @code{gnutls_session_t} type. Get the currently used cipher. @strong{Returns:} the currently used cipher, a @code{gnutls_cipher_algorithm_t} type. @end deftypefun