0

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

alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
John
  • 791
  • 1
  • 6
  • 22

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
  • 21,282
  • 4
  • 45
  • 92