QWebEngineClientCertificateSelection Class▲
-
Header: QWebEngineClientCertificateSelection
-
Since: Qt 5.12
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)
target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore)
-
qmake: QT += webenginecore
Detailed Description▲
When a web site requests an SSL client certificate, and one or more certificates are found in the system's client certificate store, this class provides access to the certificates to choose from, as well as a method for selecting one.
The selection is asynchronous. If no certificate is selected and no copy of the object is kept alive, loading will continue without a certificate.
See Also▲
See also QWebEnginePage::selectClientCertificate()
Member Function Documentation▲
QList<QSslCertificate> QWebEngineClientCertificateSelection::certificates() const▲
QUrl QWebEngineClientCertificateSelection::host() const▲
Returns the host and port of the server requesting the client certificate.
void QWebEngineClientCertificateSelection::select(const QSslCertificate &certificate)▲
Selects the client certificate certificate. The certificate must be one of those offered in certificates().
See Also▲
See also certificates(), selectNone()