Module: HrrRbSsh::Message::SSH_MSG_KEXINIT

Extended by:
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)'],
]

Method Summary

Methods included from Codable

common_definition, conditional_definition, decode, decode_recursively, encode, logger