Class: Net::SSH::Transport::Kex::EcdhSHA2NistP384
- Inherits:
-
EcdhSHA2NistP256
- Object
- DiffieHellmanGroup1SHA1
- EcdhSHA2NistP256
- Net::SSH::Transport::Kex::EcdhSHA2NistP384
- Defined in:
- lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb
Overview
A key-exchange service implementing the “ecdh-sha2-nistp256” key-exchange algorithm. (defined in RFC 5656)
Constant Summary
Constants included from Constants
Constants::DEBUG, Constants::DISCONNECT, Constants::IGNORE, Constants::KEXDH_INIT, Constants::KEXDH_REPLY, Constants::KEXECDH_INIT, Constants::KEXECDH_REPLY, Constants::KEXINIT, Constants::NEWKEYS, Constants::SERVICE_ACCEPT, Constants::SERVICE_REQUEST, Constants::UNIMPLEMENTED
Constants inherited from DiffieHellmanGroup1SHA1
DiffieHellmanGroup1SHA1::G, DiffieHellmanGroup1SHA1::P_r, DiffieHellmanGroup1SHA1::P_s
Instance Attribute Summary
Attributes inherited from EcdhSHA2NistP256
Attributes included from Loggable
Attributes inherited from DiffieHellmanGroup1SHA1
#algorithms, #connection, #data, #dh, #g, #p
Instance Method Summary collapse
Methods inherited from EcdhSHA2NistP256
Methods included from Loggable
#debug, #error, #fatal, #info, #lwarn
Methods inherited from DiffieHellmanGroup1SHA1
Constructor Details
This class inherits a constructor from Net::SSH::Transport::Kex::EcdhSHA2NistP256
Instance Method Details
#curve_name ⇒ Object
9 10 11 |
# File 'lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb', line 9 def curve_name OpenSSL::PKey::EC::CurveNameAlias['nistp384'] end |
#digester ⇒ Object
6 7 8 |
# File 'lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb', line 6 def digester OpenSSL::Digest::SHA384 end |