openssl::ssl

Function cipher_name

source
pub fn cipher_name(std_name: &str) -> &'static str
Expand description

Returns the OpenSSL name of a cipher corresponding to an RFC-standard cipher name.

If the cipher has no corresponding OpenSSL name, the string (NONE) is returned.

Requires OpenSSL 1.1.1 or newer.

This corresponds to OPENSSL_cipher_name.