QWebEngineClientCertificateSelection Class
Die Klasse QWebEngineClientCertSelection umhüllt eine Client-Zertifikatsauswahl. Mehr...
Kopfzeile: | #include <QWebEngineClientCertificateSelection> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
Öffentliche Funktionen
QList<QSslCertificate> | certificates() const |
QUrl | host() const |
void | select(const QSslCertificate &certificate) |
void | selectNone() |
Detaillierte Beschreibung
Wenn eine Website ein SSL-Client-Zertifikat anfordert und ein oder mehrere Zertifikate im Client-Zertifikatspeicher des Systems gefunden werden, bietet diese Klasse Zugriff auf die zur Auswahl stehenden Zertifikate sowie eine Methode zur Auswahl eines Zertifikats.
Die Auswahl erfolgt asynchron. Wird kein Zertifikat ausgewählt und keine Kopie des Objekts aufbewahrt, wird das Laden ohne Zertifikat fortgesetzt.
Siehe auch QWebEnginePage::selectClientCertificate().
Dokumentation der Mitgliedsfunktionen
QList<QSslCertificate> QWebEngineClientCertificateSelection::certificates() const
Gibt die zur Auswahl stehenden Client-Zertifikate zurück.
Siehe auch select().
QUrl QWebEngineClientCertificateSelection::host() const
Gibt den Host und Port des Servers zurück, der das Client-Zertifikat anfordert.
void QWebEngineClientCertificateSelection::select(const QSslCertificate &certificate)
Wählt das Client-Zertifikat certificate aus. Das Zertifikat muss eines der in certificates() angebotenen sein.
Siehe auch certificates() und selectNone().
void QWebEngineClientCertificateSelection::selectNone()
Fortfahren, ohne eines der angebotenen Zertifikate zu verwenden. Dies ist die gleiche Aktion, die beim Löschen der letzten Kopie dieses Objekts durchgeführt wird, wenn keine Auswahl getroffen wurde.
Siehe auch select().
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.