Struct tls_parser::tls_dh::ServerDHParams
[−]
[src]
pub struct ServerDHParams<'a> {
pub dh_p: &'a [u8],
pub dh_g: &'a [u8],
pub dh_ys: &'a [u8],
}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 (gX mod p).
Trait Implementations
impl<'a> PartialEq for ServerDHParams<'a>[src]
fn eq(&self, __arg_0: &ServerDHParams<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ServerDHParams<'a>) -> bool
This method tests for !=.