Struct tls_parser::ServerDHParams[][src]

pub struct ServerDHParams<'a> {
    pub dh_p: &'a [u8],
    pub dh_g: &'a [u8],
    pub dh_ys: &'a [u8],
}
Expand description

Diffie-Hellman parameters, defined in [RFC5246] section 7.4.3

Fields

dh_p: &'a [u8]

The prime modulus used for the Diffie-Hellman operation.

dh_g: &'a [u8]

The generator used for the Diffie-Hellman operation.

dh_ys: &'a [u8]

The server’s Diffie-Hellman public value (g^X mod p).

Trait Implementations

Formats the value using the given formatter. Read more

Parse input as Big-Endian

Parse input as Little-Endian

Parse input, not knowing the endianness 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.