QWebEngineClientCertificateSelection Class
QWebEngineClientCertSelection クラスは、クライアント証明書の選択をラップします。詳細...
ヘッダ | #include <QWebEngineClientCertificateSelection> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
パブリック関数
QList<QSslCertificate> | certificates() const |
QUrl | host() const |
void | select(const QSslCertificate &certificate) |
void | selectNone() |
詳細説明
Web サイトが SSL クライアント証明書を要求し、システムのクライアント証明書ストアに 1 つ以上の証明書がある場合、このクラスは選択する証明書へのアクセスと、証明書を選択するメソッドを提供します。
選択は非同期です。証明書が選択されず、オブジェクトのコピーが生きていない場合、ロードは証明書なしで続行されます。
QWebEnginePage::selectClientCertificate()も参照のこと 。
メンバ関数ドキュメント
QList<QSslCertificate> QWebEngineClientCertificateSelection::certificates() const
選択可能なクライアント証明書を返します。
select()も参照ください 。
QUrl QWebEngineClientCertificateSelection::host() const
クライアント証明書を要求するサーバーのホストとポートを返します。
void QWebEngineClientCertificateSelection::select(const QSslCertificate &certificate)
クライアント証明書certificate を選択する。証明書は、certificates ()で提供されるもののいずれかでなければならない。
certificates() およびselectNone()も参照のこと 。
void QWebEngineClientCertificateSelection::selectNone()
提供された証明書を使用せずに続行する。これは、このオブジェクトの最後のコピーを破棄するときと同じ動作である。
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.