Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNourredine <n.octeau@agim.idshost.fr>2014-11-18 18:44:14 +0300
committerJoachim Schiele <js@lastlog.de>2015-01-22 02:55:11 +0300
commitba8b1bbe06aacb02b00737968503dc9ca95ba23a (patch)
treee12066961d820d0b27bceb80b6d714366584ba64 /src/gui/addcertificatedialog.h
parent82e5e36c57d2451de27c151afd85f296a12da5f2 (diff)
adds 'SSL client certificate' support from n.octeau with qknight changes as:
* removed broken QSsl::SslV3 default * rewrote slotHandleErrors(): no longer claim errors which are none. * hack reverted: lib64 was not the cause for NixOS issues related to libraries. * refactored csync/src/csync_owncloud.c and discovered+fixed why the dav_connect was never getting the certPath+certPassoword * cleanup of code but seems this crushed the ssl client certificate support * fixes the https://github.com/owncloud/client/issues/69#issuecomment-69358377 issue * lots of cleanup * From TODO list : translate all french comments into english * changed _pemCertificate type from QString to QByteArray
Diffstat (limited to 'src/gui/addcertificatedialog.h')
-rw-r--r--src/gui/addcertificatedialog.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/gui/addcertificatedialog.h b/src/gui/addcertificatedialog.h
new file mode 100644
index 000000000..ba06da20f
--- /dev/null
+++ b/src/gui/addcertificatedialog.h
@@ -0,0 +1,35 @@
+#ifndef ADDCERTIFICATEDIALOG_H
+#define ADDCERTIFICATEDIALOG_H
+
+#include <QDialog>
+#include <QString>
+
+namespace OCC {
+
+namespace Ui {
+class AddCertificateDialog;
+}
+
+class AddCertificateDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit AddCertificateDialog(QWidget *parent = 0);
+ ~AddCertificateDialog();
+ QString getCertificatePath();
+ QString getCertificatePasswd();
+ void showErrorMessage(QString message);
+ void Reinit();
+
+private slots:
+ void on_pushButtonBrowseCertificate_clicked();
+
+private:
+ Ui::AddCertificateDialog *ui;
+
+};
+
+}//End namespace OCC
+
+#endif // ADDCERTIFICATEDIALOG_H