WebEngineClientCertificateSelection QML Type

Provides a selection of client certificates. 更多...

import 语句: import QtWebEngine
Since: QtWebEngine 1.9

特性

方法

详细描述

When a web site requests an SSL client certificate, and one or more certificates are found in the system's client certificate store, this type 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.

另请参阅 WebEngineView.selectClientCertificate .

特性文档编制

certificates : list < WebEngineClientCertificateOption >

The client certificates available to choose from.


host : url

The host and port of the server requesting the client certificate.


方法文档编制

void select ( WebEngineClientCertificateOption certificate )

Selects the client certificate certificate . The certificate must be one of the offered certificates.

另请参阅 selectNone ().


void select ( int index )

Selects the client certificate at the index index in the list of offered certificates.

另请参阅 selectNone ().


void selectNone ()

Continues 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 ().