Struct ipsec_parser::KeyExchangePayload [−][src]
pub struct KeyExchangePayload<'a> {
pub dh_group: IkeTransformDHType,
pub reserved: u16,
pub kex_data: &'a [u8],
}
Expand description
Key Exchange Payload
The Key Exchange payload, denoted KE in this document, is used to exchange Diffie-Hellman public numbers as part of a Diffie-Hellman key exchange. The Key Exchange payload consists of the IKE generic payload header followed by the Diffie-Hellman public value itself.
Defined in RFC7296 section 3.4
Fields
dh_group: IkeTransformDHType
reserved: u16
kex_data: &'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 !=
.