QWebEngineClientCertSelection 类包裹客户端证书选定。 更多...
头: | #include <QWebEngineClientCertificateSelection> |
CMake: |
find_package(Qt6 COMPONENTS WebEngineCore REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
Since: | Qt 5.12 |
QList<QSslCertificate> | certificates () const |
QUrl | host () const |
void | select (const QSslCertificate & certificate ) |
void | selectNone () |
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.
另请参阅 QWebEnginePage::selectClientCertificate ().
Returns the client certificates available to choose from.
另请参阅 select ().
Returns the host and port of the server requesting the client certificate.
Selects the client certificate certificate . The certificate must be one of those offered in certificates ().
另请参阅 certificates () 和 selectNone ().
Continue without using any of the offered certificates. This is the same action as taken when destroying the last copy of this object if no selection has been made.
另请参阅 select ().