跳到主要内容

1. 简介 (Introduction)

1. 简介 (Introduction)

Application-Layer Protocol Negotiation (应用层协议协商, ALPN) 允许通信双方在 Transport Layer Security (传输层安全, TLS) 握手期间通过 ALPN ID [RFC7301] 协商应用层协议.

ALPN ID 也可以通过 DNS Service Bindings (DNS 服务绑定, SVCB) 发现, 具体方式是使用带有 "alpn" Service Parameter Key 的 SVCB 资源记录 [RFC9460].

使用 Constrained Application Protocol (受限应用协议, CoAP) [RFC7252] 的应用程序可以在发现 DNS over CoAP (DoC) 服务器 [RFC9953] 时获得这些信息. 这些服务器可以使用 TLS 1.3 [RFC8446] 以及 DTLS 1.2 或 1.3 [RFC6347] [RFC9147] 来保护消息.

本文档为由 DTLS 保护的 CoAP 服务指定一个 ALPN ID. 由 TLS 保护的 CoAP 服务已经在 [RFC8323] 中拥有 ALPN ID.