Return the NID of the key‐exchange method used by a cipher suite.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CIPHER_get_kx_nid(SSL_CIPHER const* c);

Return Value

Key‐exchange NID (for example NID_kx_ecdhe), NID_kx_any for TLSv1.3 suites, or NID_undef if none.

Parameters

Name

Description

c

Cipher suite to query.

Created with MrDocs