diff options
Diffstat (limited to 'examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc')
-rw-r--r-- | examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc b/examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc index 5f4eeb848..c5440f08f 100644 --- a/examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc +++ b/examples/webenginewidgets/clientcertificate/doc/src/clientcertificate.qdoc @@ -2,10 +2,11 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - \example webenginewidgets/clientcertificatesi + \example webenginewidgets/clientcertificate + \examplecategory {Web Technologies} \title WebEngine Widgets Client Certificate Example \ingroup webengine-widgetexamples - \brief A simple client certificate authentication scenario using \QWE and \l QSslServer + \brief A simple client certificate authentication scenario using \QWE and \l QSslServer. \image selection.png @@ -84,7 +85,7 @@ \skipto QFile \printuntil QSslKey - Now we add the certificate and its private key to \l {QWebEngigneCretificateStore}. + Now we add the certificate and its private key to \l {QWebEngineClientCertificateStore}. \printuntil clientCertificateStore @@ -99,7 +100,7 @@ \printuntil acceptCertificate The handling for \l QWebEnginePage::selectClientCertificate simply displays \l QDialog - with \l QWidgetList showing a list of client certificates to choose from. + with \l QListWidget showing a list of client certificates to choose from. The user selected certificate is then passed to the \l QWebEngineClientCertificateSelection::select call. @@ -115,7 +116,7 @@ For our embedded device we will develop a minimalistic HTTPS server. We can use \l QSslServer to handle incoming connections and to provide an \l QSslSocket instance. To do that, we create an instance of a \l QSslServer and, similarly to our client setup, we load a server - certificate and its private key. Next, we create \l QSslCertifcate and \l QSslKey objects + certificate and its private key. Next, we create \l QSslCertificate and \l QSslKey objects accordingly. Additionally, we need a CA certificate so the server can validate the certificate presented by the client. The CA and local certificate are set to \l QSslConfiguration and used later by the server. |