Exception: Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader::DecryptError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/net/ssh/authentication/ed25519.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, encrypted_key: false) ⇒ DecryptError

Returns a new instance of DecryptError.



33
34
35
36
# File 'lib/net/ssh/authentication/ed25519.rb', line 33

def initialize(message, encrypted_key: false)
  super(message)
  @encrypted_key = encrypted_key
end

Instance Method Details

#encrypted_key?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/net/ssh/authentication/ed25519.rb', line 38

def encrypted_key?
  return @encrypted_key
end