Class: HrrRbSsh::Transport::ServerHostKeyAlgorithm::EcdsaSha2Nistp256
- Inherits:
-
HrrRbSsh::Transport::ServerHostKeyAlgorithm
- Object
- HrrRbSsh::Transport::ServerHostKeyAlgorithm
- HrrRbSsh::Transport::ServerHostKeyAlgorithm::EcdsaSha2Nistp256
- 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
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