QWebEngineClientCertificateSelection — PyQt Documentation v6.9.0 (original) (raw)
PyQt6.QtWebEngineCore.QWebEngineClientCertificateSelection
Description¶
The QWebEngineClientCertSelection class wraps a client certificate selection.
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.
Methods¶
__init__(QWebEngineClientCertificateSelection)
TODO
certificates() → list[QSslCertificate]
Returns the client certificates available to choose from.
host() → QUrl
Returns the host and port of the server requesting the client certificate.
select(QSslCertificate)
Selects the client certificate certificate. The certificate must be one of those offered in 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.