Class: HrrRbSsh::Transport::ServerHostKeyAlgorithm::EcdsaSha2Nistp256

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

Constant Summary collapse

NAME =
'ecdsa-sha2-nistp256'
PREFERENCE =
30
IDENTIFIER =
'nistp256'
SECRET_KEY =
OpenSSL::PKey::EC.new('prime256v1').generate_key.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