Symbian
Symbian OS Library

FAQ-1225 How do I open https pages using Symbian APIs

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Development
Created: 03/07/2005 Modified: 03/21/2005
Number: FAQ-1225
Platform: Symbian OS v6.1, Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0, Symbian OS v8.0a, Symbian OS v8.0b, Symbian OS v8.1a, Symbian OS v8.1b, Symbian OS v9, Symbian OS v9.0

Question:
For normal non-secure web pages I can use the APIs provided by Symbian, but what if I want to open a secure web site ? Can I use the same APIs or do I need to open a CSecureSocket to do this ?

Answer:
All you need to do is specify "https" in the URL passed to the OpenTransactionL method in RHTTPSession e.g . https://www.mysecurepage.com/

The HTTP framework will then automatically connect using CSecureSocket.