summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineclientcertificatestore.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-19 11:34:40 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-20 11:37:24 +0000
commit933b542d36266627dd776b516459a5c1610555af (patch)
tree759b7db5a5e2968ac53874f8c61b6a4a2878808d /src/core/api/qwebengineclientcertificatestore.h
parentf4e041643d5f05330e6495d83f2e583da97a69d7 (diff)
Remove Entry type from QWebEngineClientCertificateStore
It is now only possible to list contained certificates, which is used by the existing tests. Change-Id: I3eada816a05cff2bb9cc5d39125136e9084a1a2f Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/api/qwebengineclientcertificatestore.h')
-rw-r--r--src/core/api/qwebengineclientcertificatestore.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/api/qwebengineclientcertificatestore.h b/src/core/api/qwebengineclientcertificatestore.h
index 441a5f913..d9a1a0545 100644
--- a/src/core/api/qwebengineclientcertificatestore.h
+++ b/src/core/api/qwebengineclientcertificatestore.h
@@ -42,7 +42,7 @@
#include <QtWebEngineCore/qtwebenginecoreglobal.h>
-#include <QtCore/qscopedpointer.h>
+#include <QtCore/qvector.h>
#include <QtNetwork/qsslcertificate.h>
#include <QtNetwork/qsslkey.h>
@@ -55,17 +55,11 @@ QT_BEGIN_NAMESPACE
#if QT_CONFIG(ssl)
-class QWebEngineProfile;
class QWEBENGINECORE_EXPORT QWebEngineClientCertificateStore {
public:
- struct Entry {
- QSslKey privateKey;
- QSslCertificate certificate;
- };
-
void add(const QSslCertificate &certificate, const QSslKey &privateKey);
- QList<Entry> toList() const;
+ QVector<QSslCertificate> certificates() const;
void remove(const QSslCertificate &certificate);
void clear();