Method: OpenSSL::SSL::SSLContext#tmp_dh_callback
- Defined in:
- lib/openssl/ssl.rb
#tmp_dh_callback ⇒ Object
A callback invoked when DH parameters are required for ephemeral DH key exchange.
The callback is invoked with the SSLSocket, a flag indicating the use of an export cipher and the keylength required.
The callback must return an OpenSSL::PKey::DH instance of the correct key length.
Deprecated in version 3.0. Use #tmp_dh= instead.
108 109 110 |
# File 'lib/openssl/ssl.rb', line 108 def tmp_dh_callback @tmp_dh_callback end |