This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

tmp_dh=

        # OpenSSL::SSL::SSLContext.tmp_dh=

(from ruby core)
### Implementation from SSLContext
---
    ctx.tmp_dh = pkey

---

Sets DH parameters used for ephemeral DH key exchange. This is relevant
for servers only.

`pkey` is an instance of OpenSSL::PKey::DH. Note that key components
contained in the key object, if any, are ignored. The server will always
generate a new key pair for each handshake.

Added in version 3.0. See also the man page SSL_set0_tmp_dh_pkey(3).

Example:
    ctx = OpenSSL::SSL::SSLContext.new
    ctx.tmp_dh = OpenSSL::DH.generate(2048)
    svr = OpenSSL::SSL::SSLServer.new(tcp_svr, ctx)
    Thread.new { svr.accept }



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.