class QWebEngineClientCertificateSelection

The QWebEngineClientCertSelection class wraps a client certificate selection. More

Synopsis

Methods

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.

__init__(arg__1)
Parameters:

arg__1QWebEngineClientCertificateSelection

certificates()
Return type:

.list of QSslCertificate

Returns the client certificates available to choose from.

See also

select()

host()
Return type:

QUrl

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

select(certificate)
Parameters:

certificateQSslCertificate

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.

See also

select()