Class: HrrRbSsh::Transport::ServerHostKeyAlgorithm::SshRsa

Inherits:
HrrRbSsh::Transport::ServerHostKeyAlgorithm show all
Includes:
Functionable
Defined in:
lib/hrr_rb_ssh/transport/server_host_key_algorithm/ssh_rsa.rb

Constant Summary collapse

NAME =
'ssh-rsa'
PREFERENCE =
20
SECRET_KEY =
OpenSSL::PKey::RSA.new(2048).to_pem

Instance Attribute Summary

Attributes included from Loggable

#log_key, #logger

Method Summary

Methods included from Functionable

#initialize, #server_public_host_key, #sign, #verify

Methods included from Loggable

#log_debug, #log_error, #log_fatal, #log_info, #log_warn

Methods included from SubclassWithPreferenceListable

#[], #inherited, #list_preferred, #list_supported