Class: Net::SSH::Transport::Kex::EcdhSHA2NistP256
- Inherits:
-
Abstract5656
- Object
- Abstract
- Abstract5656
- Net::SSH::Transport::Kex::EcdhSHA2NistP256
- Defined in:
- lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb
Overview
A key-exchange service implementing the “ecdh-sha2-nistp256” key-exchange algorithm. (defined in RFC 5656)
Direct Known Subclasses
Constant Summary
Constants included from Constants
Constants::DEBUG, Constants::DISCONNECT, Constants::IGNORE, Constants::KEXDH_GEX_GROUP, Constants::KEXDH_GEX_INIT, Constants::KEXDH_GEX_REPLY, Constants::KEXDH_GEX_REQUEST, Constants::KEXDH_INIT, Constants::KEXDH_REPLY, Constants::KEXECDH_INIT, Constants::KEXECDH_REPLY, Constants::KEXINIT, Constants::NEWKEYS, Constants::SERVICE_ACCEPT, Constants::SERVICE_REQUEST, Constants::UNIMPLEMENTED
Instance Attribute Summary
Attributes inherited from Abstract
#algorithms, #connection, #data, #dh
Attributes included from Loggable
Instance Method Summary collapse
Methods inherited from Abstract
Methods included from Loggable
#debug, #error, #fatal, #info, #lwarn
Constructor Details
This class inherits a constructor from Net::SSH::Transport::Kex::Abstract
Instance Method Details
#curve_name ⇒ Object
14 15 16 |
# File 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb', line 14 def curve_name OpenSSL::PKey::EC::CurveNameAlias['nistp256'] end |
#digester ⇒ Object
10 11 12 |
# File 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb', line 10 def digester OpenSSL::Digest::SHA256 end |