Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当已经有TLS over SCTP时,为什么要使用D TLS over SCTP?
这个想法有什么(好的)理由或优势吗?
TLS 假定明文消息的传递是有序的。DTLS 没有。SCTP 支持消息的有序和无序传递。
因此,如果您有一个 SCTP 应用程序使用无序消息并且需要加密层,那么 DTLS 将是一个很好的答案。
(但请注意,WebRTC 以另一种方式解决了这个问题,将 SCTP 数据包封装在 DTLS 中并通过网络发送。)