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§
Source§impl<'a> Debug for KeyExchangePayload<'a>
impl<'a> Debug for KeyExchangePayload<'a>
Source§impl<'a> PartialEq for KeyExchangePayload<'a>
impl<'a> PartialEq for KeyExchangePayload<'a>
impl<'a> StructuralPartialEq for KeyExchangePayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeyExchangePayload<'a>
impl<'a> RefUnwindSafe for KeyExchangePayload<'a>
impl<'a> Send for KeyExchangePayload<'a>
impl<'a> Sync for KeyExchangePayload<'a>
impl<'a> Unpin for KeyExchangePayload<'a>
impl<'a> UnwindSafe for KeyExchangePayload<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more