class Net::SSH::KeyFactory::OpenSSHPrivateKeyType
Public Class Methods
encrypted_key?(key_data, decode_error)
click to toggle source
# File lib/net/ssh/key_factory.rb, line 132 def self.encrypted_key?(key_data, decode_error) decode_error.is_a?(Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader::DecryptError) && decode_error.encrypted_key? end
error_classes()
click to toggle source
# File lib/net/ssh/key_factory.rb, line 128 def self.error_classes [Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader::DecryptError] end
read(key_data, passphrase)
click to toggle source
# File lib/net/ssh/key_factory.rb, line 124 def self.read(key_data, passphrase) Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader.read(key_data, passphrase) end