Struct ssh_parser::SshPacketDhInit [−][src]
Expand description
SSH Key Exchange Client Packet
Defined in RFC4253 section 8 and errata.
The single field e is left unparsed because its representation depends on the negotiated key exchange algorithm:
- with a diffie hellman exchange on multiplicative group of integers modulo p, such as defined in RFC4253, the field is a multiple precision integer (defined in RFC4251 section 5).
- with a DH on elliptic curves, such as defined in RFC6239, the field is an octet string.
TODO: add accessors for the different representations
Fields
e: &'a [u8]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.