summaryrefslogtreecommitdiffstats
path: root/src/fbgui/fbgui.h
diff options
context:
space:
mode:
authorMichael Neves2012-02-02 14:45:08 +0100
committerMichael Neves2012-02-02 14:45:08 +0100
commit8d44be1d750173a944ab9bf982f88a64b49e374a (patch)
treeba7f90969b517624782473a29606a8e277da9b39 /src/fbgui/fbgui.h
parentregisterCACertificates function (diff)
downloadfbgui-8d44be1d750173a944ab9bf982f88a64b49e374a.tar.gz
fbgui-8d44be1d750173a944ab9bf982f88a64b49e374a.tar.xz
fbgui-8d44be1d750173a944ab9bf982f88a64b49e374a.zip
setLocalCertificate, readCertificate and dumpCertificate added
Diffstat (limited to 'src/fbgui/fbgui.h')
-rw-r--r--src/fbgui/fbgui.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/fbgui/fbgui.h b/src/fbgui/fbgui.h
index 57f4a34..4f60b12 100644
--- a/src/fbgui/fbgui.h
+++ b/src/fbgui/fbgui.h
@@ -81,6 +81,13 @@ private:
void watchForTrigger();
bool checkHost() const;
void loadURL();
+
+ //test function to read and save CACertificates
+ QSslCertificate readCertificate(const QString&);
+
+ //Dump all Certificates in SSLConfiguration
+ void dumpCACertificates();
+
QByteArray generatePOSTData();
//----------------------------------
@@ -119,13 +126,16 @@ private slots:
void loadURLDone(bool success);
//SSL Error Handler for SSL Requests
- void sslErrorHandler(QNetworkReply* reply, const QList<QSslError> & errlist);
+ void sslErrorHandler(QNetworkReply*, const QList<QSslError> &);
//Error Handler for http Requests
- void httpErrorHandler(QNetworkReply* reply);
+ void httpErrorHandler(QNetworkReply*);
+
+ //Sets CaCertificates in QSslConfiguration
+ void registerCACertificates(const QList<QSslCertificate> & );
- //Sets CaCertificate in QSslConfiguration
- void registerCACertificate(QSslCertificate& cert);
+ //Sets LocalCertificate in QSslConfiguration
+ void setLocalCertificate(QSslCertificate& cert);
// shut off the system
void performShutDown();