[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    SSL/TLS sockets
From:       Andreas Hartmetz <ahartmetz () gmail ! com>
Date:       2007-10-14 21:41:23
Message-ID: 200710142341.25214.ahartmetz () gmail ! com
[Download RAW message or body]

Hi,

I just wanted to tell you that I'm working on getting functional SSL support 
in a class called KTcpSocket that mimics QTcpSocket's and QSslSocket's API, 
but with startTls() and common KDE settings support and the possibility to 
add Fancy Stuff as needed. KSocketFactory will probably become obsolete.
KTcpSocket is supposed to be an all-in-one stream (not datagram) socket where 
encryption is just a setting.
Note that the scope of this undertaking is larger than having SSL work again 
(only) in KIO, for hopefully little extra effort.
The class does not inherit QAbstractSocket, only QIODevice. Thiago suggested 
the basic design and implemented a skeleton of some hundred lines to give me 
a quick start, let's see how far I can get. Quite far I hope.
The backend aka Engine will be theoretically (and hopefully in practice, too) 
pluggable. At the moment I'm doing an engine using QCA::TLS. Justin Karneges, 
QCA main developer, told me that he is planning to maintain it for quite some 
time, and it has the features already implemented in a rather easy to use 
way.

Cheers,
Andreas
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic