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:


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

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

.error_classesObject

Raises:


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

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

.read(key_data, passphrase) ⇒ Object

Raises:


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

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