このページでは

sslDtlsConfiguration QML Type

sslDtlsConfiguration クラスは、SSL 接続の DTLS デフォルト設定と状態を保持します。詳細...

Import Statement: import QtNetwork
Since: Qt 6.7

プロパティ

方法

詳細な説明

QSslConfigurationも参照してください 。

プロパティのドキュメント

ciphers : string

この設定の暗号スイートを、コロンで区切られた暗号スイート名のリストであるciphers に設定します。

「QSslConfiguration::ciphers」も参照してください 。

peerVerifyDepth : int

SSLハンドシェイクフェーズ中に検証する、相手側の証明書チェーン内の証明書の最大数を指定します。最大深度が設定されていない場合は 0(デフォルト)となり、証明書チェーン全体を検証することを意味します。

QSslConfiguration::peerVerifyDepthも参照してください 。

peerVerifyMode : enumeration

PeerVerifyMode 列挙型の値を保持します。

「QSslSocket::PeerVerifyMode」も参照してください 。

protocol : enumeration

SslProtocol 列挙型の値を保持します。

QSsl::SslProtocolも参照してください 。

sessionTicket : bytearray

SSLハンドシェイクで使用されるセッションチケットをASN.1形式で保持します。これは、例えばディスクへの永続化に適しています。

QSslConfiguration::sessionTicketも参照してください 。

sslOptionFlags : QSsl::SslOptions [since 6.11]

設定で有効になっている SslOption 値のビット単位の OR を格納します。

デフォルト値は、QSslConfiguration::defaultDtlsConfiguration() で設定された値と同じです。

このプロパティは Qt 6.11 で導入されました。

QSsl::SslOptionsも参照してください 。

メソッドのドキュメント

void setCertificateFiles(const QStringList &certificateFiles)

この関数は、ユーザーから提供された証明書のリスト(certificateFiles )を設定に読み込みます。

void setPrivateKey(const QQmlSslKey &privateKey)

この関数は、ユーザー定義の秘密鍵の値「privateKey 」を設定します。

「 QSslKey 」および「sslKey 」も参照してください 。

© 2026 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.