Class: OpenSSL::PKey::DH
- Inherits:
-
Object
- Object
- OpenSSL::PKey::DH
- Defined in:
- lib/jopenssl/_compat23.rb
Instance Method Summary collapse
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 # TODO self.q = q OpenSSL.warn "JRuby-OpenSSL does not support setting q param on #{inspect}" if q end self.g = g self end |