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
SA(Vec<IkeV2Proposal<'a>>)
Tuple Fields of SA
0: Vec<IkeV2Proposal<'a>>
KE(KeyExchangePayload<'a>)
Tuple Fields of KE
0: KeyExchangePayload<'a>
IDi(IdentificationPayload<'a>)
Tuple Fields of IDi
0: IdentificationPayload<'a>
IDr(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>
TSi(TrafficSelectorPayload<'a>)
Tuple Fields of TSi
0: TrafficSelectorPayload<'a>
TSr(TrafficSelectorPayload<'a>)
Tuple Fields of TSr
0: TrafficSelectorPayload<'a>
Encrypted(EncryptedPayload<'a>)
Tuple Fields of Encrypted
0: EncryptedPayload<'a>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.