From 06d33eaa221d445561e3e76f5462a12ec4d0d7c5 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Fri, 19 Jun 2020 23:47:25 +0200 Subject: Adds client certificates for HTTPS (untested) --- src/webclient.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/webclient.hpp') diff --git a/src/webclient.hpp b/src/webclient.hpp index 53e7fad..8c3e2ba 100644 --- a/src/webclient.hpp +++ b/src/webclient.hpp @@ -24,6 +24,9 @@ public: bool cancelRequest() override; + bool enableClientCertificate(CryptoIdentity const & ident) override; + void disableClientCertificate() override; + private slots: void on_data(); void on_finished(); @@ -36,6 +39,8 @@ private: QByteArray body; RequestOptions options; + + CryptoIdentity current_identity; }; #endif // WEBCLIENT_HPP -- cgit v1.2.3