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]

RsaSig: AuthenticationMethod = AuthenticationMethod(1)

RSA Digital Signature

SharedKeyMIC: AuthenticationMethod = AuthenticationMethod(2)

Shared Key Message Integrity Code

DssSig: AuthenticationMethod = AuthenticationMethod(3)

DSS Digital Signature

EcdsaSha256P256: AuthenticationMethod = AuthenticationMethod(9)

ECDSA with SHA-256 on the P-256 curve

EcdsaSha384P384: AuthenticationMethod = AuthenticationMethod(10)

ECDSA with SHA-384 on the P-384 curve

EcdsaSha512P512: AuthenticationMethod = AuthenticationMethod(11)

ECDSA with SHA-512 on the P-512 curve

GenericPass: AuthenticationMethod = AuthenticationMethod(12)

Generic Secure Password Authentication Method

Null: AuthenticationMethod = AuthenticationMethod(13)

NULL Authentication

DigitalSig: AuthenticationMethod = AuthenticationMethod(14)

Digital Signature

[src]

Test if value is in unassigned range

[src]

Test if value is in private use range

Trait Implementations

impl Clone for AuthenticationMethod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for AuthenticationMethod
[src]

impl Debug for AuthenticationMethod
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for AuthenticationMethod
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for AuthenticationMethod
[src]