Class: OpenSSL::PKey::EC
- Defined in:
- lib/puppet/util/monkey_patches.rb,
lib/puppet/util/monkey_patches.rb
Class Method Summary collapse
-
.generate(string) ⇒ Object
Added in ruby 2.4.0 in github.com/ruby/ruby/commit/85500b66342.
Class Method Details
.generate(string) ⇒ Object
Added in ruby 2.4.0 in github.com/ruby/ruby/commit/85500b66342
117 118 119 120 |
# File 'lib/puppet/util/monkey_patches.rb', line 117 def self.generate(string) ec = OpenSSL::PKey::EC.new(string) ec.generate_key end |