Is DTLS supported by Schannel on Windows 7?

给你一囗甜甜゛ 提交于 2019-12-12 04:48:57

问题


I have seen conflicting answers to this question. How would I activate a DTLS session using InitializeSecurityContext?


回答1:


DTLS is present in Windows 8 and later.

When creating your credentials you need to the SCHANNEL_CRED grbitEnabledProtocols to include SP_PROT_DTLS1_0_SERVER or one of the other DTLS values from schannel.h

You then need to select the correct requirements for the "required attributes" when creating your context (things like ISC_REQ_DATAGRAM from sspi.h).

See technet for some more information.



来源:https://stackoverflow.com/questions/29175092/is-dtls-supported-by-schannel-on-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!