Return the NID of the bulk cipher algorithm used by a cipher suite.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CIPHER_get_cipher_nid(SSL_CIPHER const* c);

Return Value

Cipher NID, or NID_undef when the suite has no encryption.

Parameters

Name

Description

c

Cipher suite to query.

Created with MrDocs