

Note that this may be different to the digest used to calculate the MAC for encrypted records. SSL_CIPHER_get_handshake_digest() returns an EVP_MD for the digest used during the SSL/TLS handshake when using the SSL_CIPHER c. for AEAD cipher suites) then NID_undef is returned. SSL_CIPHER_get_digest_nid() returns the digest NID corresponding to the MAC used by c during record encryption/decryption. for cipher suites with no encryption) then NID_undef is returned. SSL_CIPHER_get_cipher_nid() returns the cipher NID corresponding to c.

SSL_CIPHER_get_version() returns string which indicates the SSL/TLS protocol version that first defined the cipher. SSL_CIPHER_get_bits() returns the number of secret bits used for cipher. Where both exist, stdname should be the TLS name rather than the SSLv3 name. If the stdname is NULL, or stdname has no corresponding OpenSSL name, it returns "(NONE)". OPENSSL_cipher_name() returns a pointer to the OpenSSL name of stdname. If cipher was defined in both SSLv3 and TLS, it returns the TLS name. If the cipher has no standard name, it returns NULL. If the cipher is NULL, it returns "(NONE)". SSL_CIPHER_standard_name() returns a pointer to the standard RFC name of cipher. SSL_CIPHER_get_name() returns a pointer to the name of cipher. Uint32_t SSL_CIPHER_get_protocol_id(const SSL_CIPHER *c) DESCRIPTION Uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *c) Int SSL_CIPHER_is_aead(const SSL_CIPHER *c) Ĭonst SSL_CIPHER *SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr) Int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c) Int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c) Int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c) Ĭonst EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c) Int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c) Int SSL_CIPHER_get_bits(const SSL_CIPHER *cipher, int *alg_bits) Ĭonst char *SSL_CIPHER_get_version(const SSL_CIPHER *cipher) Ĭhar *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int size) SSL_CIPHER_get_name, SSL_CIPHER_standard_name, OPENSSL_cipher_name, SSL_CIPHER_get_bits, SSL_CIPHER_get_version, SSL_CIPHER_description, SSL_CIPHER_get_cipher_nid, SSL_CIPHER_get_digest_nid, SSL_CIPHER_get_handshake_digest, SSL_CIPHER_get_kx_nid, SSL_CIPHER_get_auth_nid, SSL_CIPHER_is_aead, SSL_CIPHER_find, SSL_CIPHER_get_id, SSL_CIPHER_get_protocol_id - get SSL_CIPHER properties SYNOPSIS #include Ĭonst char *SSL_CIPHER_get_name(const SSL_CIPHER *cipher) Ĭonst char *SSL_CIPHER_standard_name(const SSL_CIPHER *cipher) Ĭonst char *OPENSSL_cipher_name(const char *stdname)
