Class: Net::SSH::KeyFactory::OpenSSLPKeyType
- Inherits:
-
OpenSSLKeyTypeBase
- Object
- KeyType
- OpenSSLKeyTypeBase
- Net::SSH::KeyFactory::OpenSSLPKeyType
- Defined in:
- lib/net/ssh/key_factory.rb
Class Method Summary collapse
Methods inherited from OpenSSLKeyTypeBase
Methods inherited from KeyType
Class Method Details
.error_classes ⇒ Object
159 160 161 |
# File 'lib/net/ssh/key_factory.rb', line 159 def self.error_classes [ArgumentError, OpenSSL::PKey::PKeyError] end |
.open_ssl_class ⇒ Object
155 156 157 |
# File 'lib/net/ssh/key_factory.rb', line 155 def self.open_ssl_class OpenSSL::PKey end |
.read(key_data, passphrase) ⇒ Object
151 152 153 |
# File 'lib/net/ssh/key_factory.rb', line 151 def self.read(key_data, passphrase) open_ssl_class.read(key_data, passphrase) end |