GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_GET_SERVER_TMP_KEY(3) FreeBSD Library Functions Manual SSL_GET_SERVER_TMP_KEY(3)

SSL_get_server_tmp_keytemporary server key during a handshake

#include <openssl/ssl.h>

long
SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **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 key.

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.

EVP_PKEY_free(3), ssl(3), SSL_ctrl(3)

SSL_get_server_tmp_key() first appeared in OpenSSL 1.0.2 and has been available since OpenBSD 6.1.

June 12, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.