|SSL_GET_SERVER_TMP_KEY(3)||Library Functions Manual||SSL_GET_SERVER_TMP_KEY(3)|
temporary server key during a handshake
SSL_get_server_tmp_key() retrieves the
temporary key provided by the server and used during key exchange. For
example, if ECDHE is in use, this represents the server's public ECDHE
In case of success, a copy of the key is stored in *key. It is the caller's responsibility to free this key after use using EVP_PKEY_free(3).
This function may only be called by the client.
This function is implemented as a macro.
SSL_get_server_tmp_key() returns 1 on
success or 0 on failure.
SSL_get_server_tmp_key() first appeared in
OpenSSL 1.0.2 and has been available since OpenBSD
|June 12, 2019||OpenBSD-current|