Enum ipsec_parser::IkeV2PayloadContent[][src]

pub enum IkeV2PayloadContent<'a> {
Show 16 variants SA(Vec<IkeV2Proposal<'a>>), KE(KeyExchangePayload<'a>), IDi(IdentificationPayload<'a>), IDr(IdentificationPayload<'a>), Certificate(CertificatePayload<'a>), CertificateRequest(CertificateRequestPayload<'a>), Authentication(AuthenticationPayload<'a>), Nonce(NoncePayload<'a>), Notify(NotifyPayload<'a>), Delete(DeletePayload<'a>), VendorID(VendorIDPayload<'a>), TSi(TrafficSelectorPayload<'a>), TSr(TrafficSelectorPayload<'a>), Encrypted(EncryptedPayload<'a>), Unknown(&'a [u8]), Dummy,
}
Expand description

IKE Message Payload Content

The content of an IKE message is one of the defined payloads.

Defined in RFC7296 section 3.2

Variants

Tuple Fields of SA

0: Vec<IkeV2Proposal<'a>>

Tuple Fields of KE

0: KeyExchangePayload<'a>

Tuple Fields of IDi

0: IdentificationPayload<'a>

Tuple Fields of IDr

0: IdentificationPayload<'a>
Certificate(CertificatePayload<'a>)

Tuple Fields of Certificate

0: CertificatePayload<'a>
CertificateRequest(CertificateRequestPayload<'a>)

Tuple Fields of CertificateRequest

0: CertificateRequestPayload<'a>
Authentication(AuthenticationPayload<'a>)

Tuple Fields of Authentication

0: AuthenticationPayload<'a>
Nonce(NoncePayload<'a>)

Tuple Fields of Nonce

0: NoncePayload<'a>
Notify(NotifyPayload<'a>)

Tuple Fields of Notify

0: NotifyPayload<'a>
Delete(DeletePayload<'a>)

Tuple Fields of Delete

0: DeletePayload<'a>
VendorID(VendorIDPayload<'a>)

Tuple Fields of VendorID

0: VendorIDPayload<'a>

Tuple Fields of TSi

0: TrafficSelectorPayload<'a>

Tuple Fields of TSr

0: TrafficSelectorPayload<'a>
Encrypted(EncryptedPayload<'a>)

Tuple Fields of Encrypted

0: EncryptedPayload<'a>
Unknown(&'a [u8])

Tuple Fields of Unknown

0: &'a [u8]
Dummy

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.