Struct ipsec_parser::KeyExchangePayload
[−]
[src]
pub struct KeyExchangePayload<'a> { pub dh_group: IkeTransformDHType, pub reserved: u16, pub kex_data: &'a [u8], }
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
impl<'a> Debug for KeyExchangePayload<'a>
[src]
impl<'a> PartialEq for KeyExchangePayload<'a>
[src]
fn eq(&self, __arg_0: &KeyExchangePayload<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyExchangePayload<'a>) -> bool
[src]
This method tests for !=
.