Accessing Security Protocols

Windows CE supports Private Communications Technology (PCT) 1.0 and Secure Sockets Layer (SSL) versions 2.0 and 3.0, and Server Gated Crypto (SGC) security protocols. These protocols are available through WinInet or directly from Winsock.

The simplest approach to using the security protocols is to use WinInet.

    To access security protocols with WinInet

  1. Call InternetOpen to get an Internet handle.
  2. Connect with InternetConnect, using INTERNET_DEFAULT_HTTPS_PORT as the nServerPort parameter.
  3. For HTTPS, invoke HttpOpenRequest with the INTERNET_FLAG_SECURE flag set.
  4. Proceed with the remainder of the session.