Class: Net::SSH::KeyFactory::KeyType

Inherits:
Object
  • Object
show all
Defined in:
lib/net/ssh/key_factory.rb

Overview

rubocop:disable Style/Documentation, Lint/DuplicateMethods

Direct Known Subclasses

OpenSSHPrivateKeyType, OpenSSLKeyTypeBase

Class Method Summary collapse

Class Method Details

.encrypted_key?(data, error) ⇒ Boolean

Returns:

  • (Boolean)

Raises:


117
118
119
# File 'lib/net/ssh/key_factory.rb', line 117

def self.encrypted_key?(data, error)
  raise Exception, "TODO subclasses should implement is_encrypted_key"
end

.error_classesObject

Raises:


113
114
115
# File 'lib/net/ssh/key_factory.rb', line 113

def self.error_classes
  raise Exception, "TODO subclasses should implement read"
end

.read(key_data, passphrase) ⇒ Object

Raises:


109
110
111
# File 'lib/net/ssh/key_factory.rb', line 109

def self.read(key_data, passphrase)
  raise Exception, "TODO subclasses should implement read"
end