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_CTX_SET_TMP_RSA_CALLBACK(3) FreeBSD Library Functions Manual SSL_CTX_SET_TMP_RSA_CALLBACK(3)

SSL_CTX_set_tmp_rsa_callback, SSL_CTX_set_tmp_rsa, SSL_CTX_need_tmp_RSA, SSL_set_tmp_rsa_callback, SSL_set_tmp_rsa, SSL_need_tmp_RSA
handle RSA keys for ephemeral key exchange

#include <openssl/ssl.h>

void
SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*tmp_rsa_callback)(SSL *ssl, int is_export, int keylength));

long
SSL_CTX_set_tmp_rsa(SSL_CTX *ctx, RSA *rsa);

long
SSL_CTX_need_tmp_RSA(SSL_CTX *ctx);

void
SSL_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*tmp_rsa_callback)(SSL *ssl, int is_export, int keylength));

long
SSL_set_tmp_rsa(SSL *ssl, RSA *rsa);

long
SSL_need_tmp_RSA(SSL *ssl);

Since they mattered only for deliberately insecure RSA authentication mandated by historical U.S. export restrictions, these functions are all deprecated and have no effect except that SSL_CTX_set_tmp_rsa_callback(), SSL_CTX_set_tmp_rsa(), SSL_set_tmp_rsa_callback(), and SSL_set_tmp_rsa() issue error messages when called.

These functions always return 0, indicating failure.

ssl(3), SSL_CTX_set_cipher_list(3), SSL_CTX_set_options(3), SSL_CTX_set_tmp_dh_callback(3), SSL_new(3), SSL_set_tmp_ecdh(3)

SSL_CTX_set_tmp_rsa_callback(), SSL_CTX_set_tmp_rsa(), and SSL_CTX_need_tmp_RSA() first appeared in SSLeay 0.8.0 and have been available since OpenBSD 2.4.

SSL_set_tmp_rsa_callback() SSL_set_tmp_rsa(), and SSL_need_tmp_RSA() first appeared in OpenSSL 0.9.2b and have been available since OpenBSD 2.6.

March 27, 2018 FreeBSD 13.1-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.