class Net::SSH::KeyFactory::OpenSSLPKeyType

Public Class Methods

error_classes() click to toggle source
# File lib/net/ssh/key_factory.rb, line 160
def self.error_classes
  [ArgumentError, OpenSSL::PKey::PKeyError]
end
open_ssl_class() click to toggle source
# File lib/net/ssh/key_factory.rb, line 156
def self.open_ssl_class
  OpenSSL::PKey
end
read(key_data, passphrase) click to toggle source
# File lib/net/ssh/key_factory.rb, line 152
def self.read(key_data, passphrase)
  open_ssl_class.read(key_data, passphrase)
end