From 933b542d36266627dd776b516459a5c1610555af Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 19 Mar 2019 11:34:40 +0100 Subject: Remove Entry type from QWebEngineClientCertificateStore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is now only possible to list contained certificates, which is used by the existing tests. Change-Id: I3eada816a05cff2bb9cc5d39125136e9084a1a2f Reviewed-by: Jüri Valdmann --- src/core/api/qwebengineclientcertificatestore.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/core/api/qwebengineclientcertificatestore.h') 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 -#include +#include #include #include @@ -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 toList() const; + QVector certificates() const; void remove(const QSslCertificate &certificate); void clear(); -- cgit v1.2.3