Class: HrrRbSsh::Message::SSH_MSG_KEXINIT

Inherits:
Object
  • Object
show all
Includes:
Codable
Defined in:
lib/hrr_rb_ssh/message/020_ssh_msg_kexinit.rb

Constant Summary collapse

ID =
self.name.split('::').last
VALUE =
20
DEFINITION =
[
  #[DataType, Field Name]
  [DataType::Byte,      :'message number'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::Byte,      :'cookie (random byte)'],
  [DataType::NameList,  :'kex_algorithms'],
  [DataType::NameList,  :'server_host_key_algorithms'],
  [DataType::NameList,  :'encryption_algorithms_client_to_server'],
  [DataType::NameList,  :'encryption_algorithms_server_to_client'],
  [DataType::NameList,  :'mac_algorithms_client_to_server'],
  [DataType::NameList,  :'mac_algorithms_server_to_client'],
  [DataType::NameList,  :'compression_algorithms_client_to_server'],
  [DataType::NameList,  :'compression_algorithms_server_to_client'],
  [DataType::NameList,  :'languages_client_to_server'],
  [DataType::NameList,  :'languages_server_to_client'],
  [DataType::Boolean,   :'first_kex_packet_follows'],
  [DataType::Uint32,    :'0 (reserved for future extension)'],
]

Instance Attribute Summary

Attributes included from Loggable

#log_key, #logger

Method Summary

Methods included from Codable

#common_definition, #conditional_definition, #decode, #decode_recursively, #encode, #initialize

Methods included from Loggable

#log_debug, #log_error, #log_fatal, #log_info, #log_warn