WebEngineClientCertificateSelection QML Type

提供客户证书的选择。更多

Import Statement: import QtWebEngine
Since: QtWebEngine 1.9

属性

方法

详细说明

当网站请求 SSL 客户端证书,并在系统的客户端证书存储中找到一个或多个证书时,该类型提供了可供选择的证书访问权限,以及选择证书的方法。

选择是异步的。如果没有选择证书,也没有对象副本存活,则将在没有证书的情况下继续加载。

另请参阅 WebEngineView.selectClientCertificate

属性文档

可供选择的客户证书。


host : url

请求客户证书的服务器主机和端口。


方法文档

void select(WebEngineClientCertificateOption certificate)

选择客户证书certificate 。证书必须是提供的证书之一。

另请参阅 selectNone() 。


void select(int index)

在提供的证书列表中选择索引为index 的客户证书。

另请参阅 selectNone()。


void selectNone()

不使用任何提供的证书而继续。如果没有选择,这与销毁此对象最后一个副本时的操作相同。

另请参阅 select()。


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.