Enum ipsec_parser::IkeV2Transform[][src]

pub enum IkeV2Transform {
    Encryption(IkeTransformEncType),
    PRF(IkeTransformPRFType),
    Auth(IkeTransformAuthType),
    DH(IkeTransformDHType),
    ESN(IkeTransformESNType),
    Unknown(IkeTransformTypeu16),
}
Expand description

IKEv2 Transform (cryptographic algorithm)

This structure is a simple representation of a transform, containing only the type (encryption, etc.). To store the parameters, use IkeV2RawTransform.

Defined in RFC7296 section 3.3

Variants

Tuple Fields of Encryption

0: IkeTransformEncType

Tuple Fields of PRF

0: IkeTransformPRFType

Tuple Fields of Auth

0: IkeTransformAuthType

Tuple Fields of DH

0: IkeTransformDHType

Tuple Fields of ESN

0: IkeTransformESNType

Unknown tranform (type,id)

Tuple Fields of Unknown

0: IkeTransformType1: u16

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.