instance method
OpenSSL::PKey::DH#set_key
(::OpenSSL::bn pub_key, ::OpenSSL::bn? priv_key) -> self
dh.set_key(pub_key, priv_key) → self
ext/openssl/ossl_pkey_dh.c
View on GitHub ↗
Sets pub_key and priv_key for the DH instance. priv_key may be nil.