| Reply | « Previous Thread | Next Thread » |
|
Hi all,
i'm trying to make an ssl-connection in python for series 60, but I have not been successful with it. I'd appreciate if someone smarter than me could explain to me why the following code doesn't work in python for series 60 but works just fine on python 2.2.3 (tcpsock._sock is a normal tcp socket): Code:
tcpsock._sslObj = socket.ssl(tcpsock._sock, None, None) # Make an ssl object of the socket tcpsock._sslIssuer = tcpsock._sslObj.issuer() I also understood that symbian has had ssl since 6.x. Am I missing something here? I am experimenting with xmpppy (xmpp implementation using python) and I am not able to connect to a server due to the error above. Hopefully the solution doesn't go too technical, as I am not the developer of xmpppy and I don't really know very well what's happening under the hood of xmpppy. I'm just trying to experiment. ![]() Thanks in advance. - Ville |
|
The SSL objects in Python for S60 support only methods read and write, sorry. If additional functionality is needed, post about it in the wishlist thread and preferably include an explanation why it is needed.
You could make your software work by making a wrapper for the SSL object that replaces the missing methods with stubs that return dummy data and then using that wrapper. |
|
Ohko, xmppy is a very extensive library, where you able to port it to pys60?
|
| bercobeute |
| View Public Profile |
| Find all posts by bercobeute |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| SSL or WTLS | emmanuelpichon | General Discussion | 1 | 2007-01-11 22:40 |
| Bubble sort a list of linked objects! | hclemson | General Symbian C++ | 2 | 2005-05-15 14:39 |
| Nokia 6600 IMAP client with unsigned SSL certificates | ville_vaten | Symbian Networking & Messaging | 1 | 2004-03-02 14:26 |
| panicking active objects | kratom | General Symbian C++ | 0 | 2003-04-18 08:20 |
| SSL from the Server Emulator | Nokia_Archived | General Browsing | 1 | 2002-05-17 14:30 |