INFO: How to Make SSL Requests Using WinInet on WinCE

ID: Q198566

The information in this article applies to:

SUMMARY

This article explains how to make SSL requests using the WinInet APIs on Windows CE.

MORE INFORMATION

It is possible to establish a Secure Socket Layer (SSL) or Private Communications Technology (PCT) HTTP session with the WinInet APIs. However, unlike the Win32 counterpart, HttpOpenRequest on WinCE 2.0 does not accept the INTERNET_FLAG_SECURE flag. If this flag is provided, HttpSendRequest fails with error 87 ("Invalid Parameter").

It is still possible to submit the SSL-encrypted request by using the InternetOpenUrl API. To do so, this API must be used in the following fashion:

   InternetOpenUrl (hReq, L"https://myserver/mypage.htm", ...)

No specific flags are necessary for the SSL request.

Please note the following limitations:

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Leon Braginski, Microsoft Corporation.

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q168151
   TITLE     : How to Make SSL Requests Using WinInet

Additional query words: kbDSupport
Keywords          : kbWinCE200 
Issue type        : kbinfo

Last Reviewed: January 8, 1999