Class: Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA256

Inherits:
DiffieHellmanGroupExchangeSHA1 show all
Defined in:
lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb

Overview

A key-exchange service implementing the “diffie-hellman-group-exchange-sha256” key-exchange algorithm.

Constant Summary

Constants inherited from DiffieHellmanGroupExchangeSHA1

Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA1::MAXIMUM_BITS, Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA1::MINIMUM_BITS

Constants inherited from DiffieHellmanGroup1SHA1

Net::SSH::Transport::Kex::DiffieHellmanGroup1SHA1::G, Net::SSH::Transport::Kex::DiffieHellmanGroup1SHA1::P_r, Net::SSH::Transport::Kex::DiffieHellmanGroup1SHA1::P_s

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

#logger

Instance Method Summary collapse

Methods inherited from Abstract

#exchange_keys, #initialize

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

#digesterObject



7
8
9
# File 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb', line 7

def digester
  OpenSSL::Digest::SHA256
end