Struct ssh_parser::SshPacketDhInit[][src]

pub struct SshPacketDhInit<'a> {
    pub e: &'a [u8],
}
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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.