class Net::SSH::KeyFactory::OpenSSHPrivateKeyType

def self.encrypted_key?(key_data, decode_error)

def self.encrypted_key?(key_data, decode_error)
  decode_error.is_a?(Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader::DecryptError) && decode_error.encrypted_key?
end

def self.error_classes

def self.error_classes
  [Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader::DecryptError]
end

def self.read(key_data, passphrase)

def self.read(key_data, passphrase)
  Net::SSH::Authentication::ED25519::OpenSSHPrivateKeyLoader.read(key_data, passphrase)
end