You Are Here:

Community: Developer Discussion Boards

#1 Old SSL Objects - 2005-09-06, 10:26

Join Date: Sep 2005
Posts: 2
Location: Finland
ohko
Offline
Registered User
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()
On python for series 60 the execution stops on the second line, python reports an AttributeError: 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
Reply With Quote

#2 Old Re: SSL Objects - 2005-09-06, 11:41

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
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.
Reply With Quote

#3 Old Re: SSL Objects - 2005-09-14, 23:55

Join Date: Oct 2004
Posts: 158
bercobeute
Offline
Regular Contributor
Ohko, xmppy is a very extensive library, where you able to port it to pys60?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia