Struct ipsec_parser::AuthenticationPayload
[−]
[src]
pub struct AuthenticationPayload<'a> {
pub auth_method: AuthenticationMethod,
pub auth_data: &'a [u8],
}Authentication Payload
The Authentication payload, denoted AUTH in this document, contains data used for authentication purposes.
Defined in RFC7296 section 3.8
Fields
auth_method: AuthenticationMethod
auth_data: &'a [u8]
Trait Implementations
impl<'a> Debug for AuthenticationPayload<'a>[src]
impl<'a> PartialEq for AuthenticationPayload<'a>[src]
fn eq(&self, __arg_0: &AuthenticationPayload<'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: &AuthenticationPayload<'a>) -> bool[src]
This method tests for !=.