user142019
user142019

Reputation:

Adobe Air sockets and SSL

I'm writing an Air application which uses sockets. I need to connect to nexus.passport.com:443 using SSL. Is this possible? If so, how?

I use JavaScript for the programming.

Upvotes: 2

Views: 2096

Answers (2)

Bjorn
Bjorn

Reputation: 71830

Adobe AIR 2.0 has added securesockets:

http://help.adobe.com/en_US/air/reference/html/flash/net/SecureSocket.html

Upvotes: 2

Steve -Cutter- Blades
Steve -Cutter- Blades

Reputation: 5432

According to this article on Adobe's site, you can't currently do this with sockets, but rather must use the URLRequest API.

The only current limitation is that there is not currently an SSL Socket implementation in AIR. For secure communication with a server you will be limited to HTTPS using the URLRequest API.

Upvotes: 2

Related Questions