Struct ipsec_parser::IkeTransformPRFType [] [src]

pub struct IkeTransformPRFType(pub u16);

Pseudo-Random Function values

Defined in RFC7296 section 3.3.2

See also IKEV2IANA for the latest values.

Methods

impl IkeTransformPRFType
[src]

PRF_NULL: IkeTransformPRFType = IkeTransformPRFType(0)

PRF_HMAC_MD5: IkeTransformPRFType = IkeTransformPRFType(1)

PRF_HMAC_SHA1: IkeTransformPRFType = IkeTransformPRFType(2)

PRF_HMAC_TIGER: IkeTransformPRFType = IkeTransformPRFType(3)

PRF_AES128_XCBC: IkeTransformPRFType = IkeTransformPRFType(4)

PRF_HMAC_SHA2_256: IkeTransformPRFType = IkeTransformPRFType(5)

PRF_HMAC_SHA2_384: IkeTransformPRFType = IkeTransformPRFType(6)

PRF_HMAC_SHA2_512: IkeTransformPRFType = IkeTransformPRFType(7)

PRF_AES128_CMAC: IkeTransformPRFType = IkeTransformPRFType(8)

[src]

[src]

Trait Implementations

impl Clone for IkeTransformPRFType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for IkeTransformPRFType
[src]

impl PartialEq for IkeTransformPRFType
[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 IkeTransformPRFType
[src]

impl Debug for IkeTransformPRFType
[src]

[src]

Formats the value using the given formatter.