Skip to content
instance method

OpenSSL::PKey::DH#params

() -> ::Hash[::String, ::OpenSSL::BN?]
dh.params → hash

Stores all parameters of key to a Hash.

The hash has keys ‘p’, ‘q’, ‘g’, ‘pub_key’, and ‘priv_key’.

See also #generate_key! #params_ok? #export #private? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0