Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
SSL_CIPHER_get_name, SSL_CIPHER_get_bits, SSL_CIPHER_get_version, SSL_CIPHER_get_cipher_nid, SSL_CIPHER_get_digest_nid, SSL_CIPHER_get_kx_nid, SSL_CIPHER_get_auth_nid, SSL_CIPHER_is_aead, SSL_CIPHER_find, SSL_CIPHER_get_id, SSL_CIPHER_description — get SSL_CIPHER propertiesSYNOPSIS
#include <openssl/ssl.h>SSL_CIPHER_get_name(const SSL_CIPHER *cipher);
SSL_CIPHER_get_bits(const SSL_CIPHER *cipher, int *alg_bits);
SSL_CIPHER_get_version(const SSL_CIPHER *cipher);
SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *cipher);
SSL_CIPHER_get_digest_nid(const SSL_CIPHER *cipher);
SSL_CIPHER_get_kx_nid(const SSL_CIPHER *cipher);
SSL_CIPHER_get_auth_nid(const SSL_CIPHER *cipher);
SSL_CIPHER_is_aead(const SSL_CIPHER *cipher);
SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr);
SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int size);
DESCRIPTION
SSL_CIPHER_get_name() returns a pointer to the name of cipher.- ⟨ciphername⟩
- Textual representation of the cipher name.
- ⟨protocol version⟩
- Protocol version: SSLv3, TLSv1.2, or TLSv1.3. The TLSv1.0 ciphers are flagged with SSLv3. No new ciphers were added by TLSv1.1.
- Kx=⟨key exchange⟩
- Key exchange method: DH, ECDH, GOST, RSA, or TLSv1.3.
- Au=⟨authentication⟩
- Authentication method: ECDSA, GOST01, RSA, TLSv1.3, or None. None is the representation of anonymous ciphers.
- Enc=⟨symmetric encryption method⟩
- Encryption method with number of secret bits: 3DES(168), RC4(128), AES(128), AES(256), AESGCM(128), AESGCM(256), Camellia(128), Camellia(256), ChaCha20-Poly1305, GOST-28178-89-CNT, or None.
- Mac=⟨message authentication code⟩
- Message digest: MD5, SHA1, SHA256, SHA384, AEAD, GOST94, GOST89IMIT, or STREEBOG256.
RETURN VALUES
SSL_CIPHER_get_name() returns an internal pointer to a NUL-terminated string. SSL_CIPHER_get_version() returns a pointer to a static NUL-terminated string. If cipher is a NULL pointer, both functions return a pointer to the static string “(NONE)”.EXAMPLES
An example for the output of SSL_CIPHER_description():ECDHE-RSA-AES256-GCM-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD
$ openssl ciphers -v ALL:COMPLEMENTOFALL