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