PySide6.QtWebEngineCore.QWebEngineClientCertificateSelection¶
- class QWebEngineClientCertificateSelection¶
The QWebEngineClientCertSelection class wraps a client certificate selection. More…
Synopsis¶
Methods¶
def
__init__()
def
certificates()
def
host()
def
select()
def
selectNone()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
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.
See also
- __init__(arg__1)¶
- Parameters:
arg__1 –
QWebEngineClientCertificateSelection
- certificates()¶
- Return type:
.list of QSslCertificate
Returns the client certificates available to choose from.
See also
Returns the host and port of the server requesting the client certificate.
- select(certificate)¶
- Parameters:
certificate –
QSslCertificate
Selects the client certificate
certificate
. The certificate must be one of those offered incertificates()
.See also
- 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.
See also