大网数据广告活动
账户与安全

Quality of Protection

· 52CE 我爱测

The quality of protection, identified by the qop directive, is first specified by the server in the Digest challenge, and then confirmed by the client in the challenge response.

The quality of protection, identified by the qop directive, is first specified by the server in the Digest challenge, and then confirmed by the client in the challenge response. If the client requires a quality of protection that the server does not support, the client must terminate the authentication.

The possible values for the qop directive are described in the following table.

Value Description
"auth" Authentication only.
"auth-int" Authentication and integrity checking using signatures.
(SASL only) "auth-conf" Authentication, integrity and confidentiality checking by using signatures and encryption. For more information, see Ciphers.

Quality of protection is determined by context requirement flags passed to the Microsoft Digest SSP. The following table lists the flags related to quality of protection, and the resulting value of the qop directive.

Flag qop value
XXX_REQ_CONFIDENTIALITY "auth-conf" (SASL only)
XXX_REQ_REPLAY_DETECT "auth-int"
XXX_REQ_SEQUENCE_DETECT "auth-int"
XXX_REQ_INTEGRITY "auth-int"
(none) "auth"

Note:
Context requirement flags specified by server applications have a prefix of ASC, and those specified by clients are prefixed with ISC. To determine the flag values used by your application, substitute one of these prefixes for XXX.

For additional server-related information, see Generating the Digest Challenge.

For additional client-related information, see Generating the Digest Challenge Response.

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)

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

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