Class: OpenSSL::PKey::DH
- Inherits:
-
Object
- Object
- OpenSSL::PKey::DH
- Includes:
- Marshal
- Defined in:
- lib/openssl/pkey.rb,
lib/jopenssl/_compat23.rb
Instance Method Summary collapse
Methods included from Marshal
Instance Method Details
#set_key(pub_key, priv_key) ⇒ Object
9 10 11 12 13 |
# File 'lib/jopenssl/_compat23.rb', line 9 def set_key(pub_key, priv_key) self.pub_key = pub_key self.priv_key = priv_key self end |
#set_pqg(p, q, g) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/jopenssl/_compat23.rb', line 15 def set_pqg(p, q, g) self.p = p if respond_to?(:q=) self.q = q else OpenSSL.warn "JRuby-OpenSSL does not support setting q param on #{inspect}" if q end self.g = g self end |