0

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

alecxe
  • 414,977
  • 106
  • 935
  • 1,083
John
  • 676
  • 1
  • 6
  • 20

1 Answers1

0

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.

Len Holgate
  • 20,256
  • 4
  • 40
  • 89