Struct ipsec_parser::NoncePayload
[−]
[src]
pub struct NoncePayload<'a> { pub nonce_data: &'a [u8], }
Nonce Payload
The Nonce payload, denoted as Ni and Nr in this document for the initiator's and responder's nonce, respectively, contains random data used to guarantee liveness during an exchange and protect against replay attacks.
Defined in RFC7296 section 3.9
Fields
nonce_data: &'a [u8]
Trait Implementations
impl<'a> PartialEq for NoncePayload<'a>
[src]
fn eq(&self, __arg_0: &NoncePayload<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NoncePayload<'a>) -> bool
[src]
This method tests for !=
.