Struct ipsec_parser::AuthenticationMethod
[−]
[src]
pub struct AuthenticationMethod(pub u8);
Method of authentication used.
See also IKEV2IANA for the latest values.
Methods
impl AuthenticationMethod
[src]
const RsaSig: AuthenticationMethod
RsaSig: AuthenticationMethod = AuthenticationMethod(1)
RSA Digital Signature
SharedKeyMIC: AuthenticationMethod = AuthenticationMethod(2)
Shared Key Message Integrity Code
const DssSig: AuthenticationMethod
DssSig: AuthenticationMethod = AuthenticationMethod(3)
DSS Digital Signature
const EcdsaSha256P256: AuthenticationMethod
EcdsaSha256P256: AuthenticationMethod = AuthenticationMethod(9)
ECDSA with SHA-256 on the P-256 curve
const EcdsaSha384P384: AuthenticationMethod
EcdsaSha384P384: AuthenticationMethod = AuthenticationMethod(10)
ECDSA with SHA-384 on the P-384 curve
const EcdsaSha512P512: AuthenticationMethod
EcdsaSha512P512: AuthenticationMethod = AuthenticationMethod(11)
ECDSA with SHA-512 on the P-512 curve
const GenericPass: AuthenticationMethod
GenericPass: AuthenticationMethod = AuthenticationMethod(12)
Generic Secure Password Authentication Method
const Null: AuthenticationMethod
Null: AuthenticationMethod = AuthenticationMethod(13)
NULL Authentication
const DigitalSig: AuthenticationMethod
DigitalSig: AuthenticationMethod = AuthenticationMethod(14)
Digital Signature
fn is_unassigned(&self) -> bool
[src]
Test if value is in unassigned range
fn is_private_use(&self) -> bool
[src]
Test if value is in private use range
Trait Implementations
impl Clone for AuthenticationMethod
[src]
fn clone(&self) -> AuthenticationMethod
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for AuthenticationMethod
[src]
impl Debug for AuthenticationMethod
[src]
impl PartialEq for AuthenticationMethod
[src]
fn eq(&self, __arg_0: &AuthenticationMethod) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthenticationMethod) -> bool
[src]
This method tests for !=
.