pub struct NoncePayload<'a> {
pub nonce_data: &'a [u8],
}
Expand description
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§
Source§impl<'a> Debug for NoncePayload<'a>
impl<'a> Debug for NoncePayload<'a>
Source§impl<'a> PartialEq for NoncePayload<'a>
impl<'a> PartialEq for NoncePayload<'a>
impl<'a> StructuralPartialEq for NoncePayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for NoncePayload<'a>
impl<'a> RefUnwindSafe for NoncePayload<'a>
impl<'a> Send for NoncePayload<'a>
impl<'a> Sync for NoncePayload<'a>
impl<'a> Unpin for NoncePayload<'a>
impl<'a> UnwindSafe for NoncePayload<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more