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

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.