diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2011-11-01 14:20:19 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-14 18:41:17 +0100 |
commit | 4329030b77dc2faf267cecc0a8b03ce3ed3437cf (patch) | |
tree | 3c543ff088b626b3aaa5b58826b7e595776d82ca /src/network/ssl/qsslsocket_openssl_p.h | |
parent | 49bd825a9626eda77fd9e8313e1868bed4c77bff (diff) |
network: remove Symbian specific code
removes several files and cleans up the code, removing all Symbian
specific #ifdef's etc.
Change-Id: Ie457e54cb4b3a992f251383320d47822259c38f1
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_p.h')
-rw-r--r-- | src/network/ssl/qsslsocket_openssl_p.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_p.h b/src/network/ssl/qsslsocket_openssl_p.h index 080ad0064c..c4b9018db7 100644 --- a/src/network/ssl/qsslsocket_openssl_p.h +++ b/src/network/ssl/qsslsocket_openssl_p.h @@ -126,61 +126,6 @@ public: static QString getErrorsFromOpenSsl(); }; -#if defined(Q_OS_SYMBIAN) - -#include <QByteArray> -#include <e32base.h> -#include <f32file.h> -#include <unifiedcertstore.h> // link against certstore.lib -#include <ccertattributefilter.h> // link against ctframework.lib - -// The purpose of this class is to wrap the asynchronous API of Symbian certificate store to one -// synchronizable call. The user of this class needs to provide a TRequestStatus object which can -// be used with User::WaitForRequest() unlike with the calls of the certificate store API. -// A thread is used instead of a CActiveSchedulerWait scheme, because that would make the call -// asynchronous (other events might be processed during the call even though the call would be seemingly -// synchronous). - -class CSymbianCertificateRetriever : public CActive -{ -public: - static CSymbianCertificateRetriever* NewL(); - ~CSymbianCertificateRetriever(); - - int GetCertificates(QList<QByteArray> &aCertificates); - -private: - void ConstructL(); - CSymbianCertificateRetriever(); - static TInt ThreadEntryPoint(TAny* aParams); - void doThreadEntryL(); - void GetCertificateL(); - void DoCancel(); - void RunL(); - TInt RunError(TInt aError); - -private: - enum { - Initializing, - Listing, - RetrievingCertificates - } iState; - - RThread iThread; - CUnifiedCertStore* iCertStore; - RMPointerArray<CCTCertInfo> iCertInfos; - CCertAttributeFilter* iCertFilter; - TInt iCurrentCertIndex; - QByteArray iCertificateData; - TPtr8 iCertificatePtr; - QList<QByteArray>* iCertificates; - TInt iSequenceError; -}; - - -#endif - - QT_END_NAMESPACE #endif |