Partager via


2.2.4 TLV

The following diagram specifies the standard TLV structure that MUST be used by the result TLV (section 2.2.8.1.2).

The fields of the structure MUST be transmitted in network byte order from left to right.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

M

R

TLV Type

Length

Value (variable)

...

M (1 bit): The M bit has the following possible values and MUST be set:

Value

Meaning

0

This TLV support is optional for the recipient. If the TLV is not supported, the recipient MUST ignore the TLV.

1

This TLV support is mandatory for the recipient. If the TLV is not supported, the recipient MUST discard the PEAP packet that contains the TLV.

R (1 bit): The R bit is reserved and MUST be set to zero when sent and MUST be ignored on receipt.

TLV Type (14 bits): A 14-bit unsigned integer in network byte order that indicates the type of data in the Value field. Allocated types include the following:

Value

Description

1

SoH TLV

2

SoH Request TLV

3

Result TLV or SoH Response TLV (when transmitted in a Vendor-Specific TLV)

7

Vendor-Specific TLV

12

Cryptobinding TLV

Length (2 bytes): A 16-bit unsigned integer in network-byte order that indicates the length, in bytes, of the Value field.

Value (variable): The value MUST be formatted in accordance with the type specified in the TLV Type field.