summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_p.h')
-rw-r--r--src/network/ssl/qsslsocket_openssl_p.h55
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