[][src]Struct ipsec_parser::KeyExchangePayload

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: IkeTransformDHTypereserved: u16kex_data: &'a [u8]

Trait Implementations

impl<'a> PartialEq<KeyExchangePayload<'a>> for KeyExchangePayload<'a>[src]

impl<'a> Debug for KeyExchangePayload<'a>[src]

Auto Trait Implementations

impl<'a> Send for KeyExchangePayload<'a>

impl<'a> Sync for KeyExchangePayload<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]