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.



31
32
33
34
# File 'lib/net/ssh/authentication/ed25519.rb', line 31

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

Instance Method Details

#encrypted_key?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/net/ssh/authentication/ed25519.rb', line 36

def encrypted_key?
  return @encrypted_key
end