このページでは

QDtlsClientVerifier::GeneratorParameters Struct

struct QDtlsClientVerifier::GeneratorParameters

このクラスは、DTLSクッキー生成器のパラメータを定義します。詳細...

パブリック関数

GeneratorParameters()
GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret)

詳細な説明

このクラスのオブジェクトは、QDtlsClientVerifier が DTLS クッキーを生成するために使用するパラメータを提供します。これらには、暗号ハッシュアルゴリズムとシークレットが含まれます。

注: 空のシークレットは 、QDtlsClientVerifier::setCookieGeneratorParameters() によって無効とみなされます。

関連項目: QDtlsClientVerifier::setCookieGeneratorParameters()、QDtlsClientVerifier::cookieGeneratorParameters()、QDtls::setCookieGeneratorParameters()、QDtls::cookieGeneratorParameters()、およびQCryptographicHash::Algorithm 。

メンバ関数のドキュメント

GeneratorParameters::GeneratorParameters()

デフォルトでは、アルゴリズムとしてQCryptographicHash::Sha1 、シークレットとして空の値を指定してGeneratorParametersオブジェクトを生成します。

QDtlsClientVerifier::setCookieGeneratorParameters()、QDtlsClientVerifier::cookieGeneratorParameters()、QDtls::setCookieGeneratorParameters()、およびQDtls::cookieGeneratorParameters()も参照してください 。

GeneratorParameters::GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret)

algorithm およびsecret から GeneratorParameters オブジェクトを生成します。

QDtlsClientVerifier::setCookieGeneratorParameters()、QDtlsClientVerifier::cookieGeneratorParameters()、QDtls::setCookieGeneratorParameters()、およびQDtls::cookieGeneratorParameters()も参照してください 。

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