大网数据广告活动
网络与域名解析

Implementing In-Band NAP Support for EAP Methods

· 52CE 我爱测

Can be enabled for EAPHost EAP methods that support the transmission of type-length-value objects (TLVs).

In-band Network Access Protection (NAP) support for an EAP method can be enabled for EAPHost EAP methods that support the transmission of type-length-value objects (TLVs). When in-band NAP support is enabled, NAP packets are transported inside EAP method packets.

In contrast, when out-of-band NAP support is enabled, the NAP Statement of Health (SoH) exchange occurs through means other than internal to EAP method packets.

All TLVs are vendor specific.

Implementing NAP Support on EAP Peer Methods

The EAP peer method implementation receives a TLV containing the Statement of Health (SoH) request TLV from an EAP server.

The EAP peer method implementation then passes the TLV containing the SoH request TLV to EAPHost as follows.

The EAP peer method implementation receives a TLV containing an SoH TLV from EAPHost as follows.

  • EAPHost calls EapPeerSetResponseAttributes from the EAP peer method implementation. EapPeerSetResponseAttributes contains a TLV that houses an SoH TLV.
  • The EAP peer method implementation sends the SoH TLV to the EAP server.
  • The EAP peer method implementation receives a TLV containing an SoH response TLV from the EAP server.

The EAP peer method implementation passes the TLV containing the SoH response TLV to EAPHost as follows.

Note:
The eapType member of the EAP_ATTRIBUTE structure will always be set to eatEAPTLV and the pValue member will point to the first byte of the TLV that contains the SoH response TLV.

Implementing NAP Support on EAP Server Methods

The EAP server method implementation constructs a TLV containing an SoH request TLV. The EAP server method implementation sends this TLV containing the SoH Request TLV to the EAP peer. The EAP server method implementation receives the TLV from the EAP peer.

The EAP server method implementation passes the TLV containing an SoH TLV to EAPHost as follows.

The EAP server method implementation receives a TLV containing an SoH response TLV from EAPHost as follows.

Note:
The eapType member of the EAP_ATTRIBUTE structure will always be set to eatEAPTLV and the pValue member will point to the first byte of the TLV that contains the SoH response TLV.

Messages

The EAP SoH TLV is used to encapsulate the SoH protocol for transmission via an EAP method. All EAP SoH TLVs have the same structure, differing only on the message ID and data portion of the message.

For more information, see Network Access Protection (NAP) Statement of Health (SoH) Messages.

Related topics

Configuring the EAP Method User Interface

Enabling Group Policy

Implementing NAP Support for EAP Methods

Transferring Data Between the Supplicant and EAP Methods

EAPHost Supplicants

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。