Class: OpenSSL::PKey::EC

Inherits:
Object show all
Defined in:
lib/puppet/util/monkey_patches.rb,
lib/puppet/util/monkey_patches.rb

Class Method Summary collapse

Class Method Details

.generate(string) ⇒ Object


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