Sur cette page

QDtlsClientVerifier::GeneratorParameters Struct

struct QDtlsClientVerifier::GeneratorParameters

Cette classe définit les paramètres du générateur de cookies DTLS. Plus d'informations...

Fonctions publiques

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

Description détaillée

Un objet de cette classe fournit les paramètres que QDtlsClientVerifier utilisera pour générer des cookies DTLS. Ces paramètres comprennent un algorithme de hachage cryptographique et un secret.

Note : Un secret vide est considéré comme invalide par QDtlsClientVerifier::setCookieGeneratorParameters().

Voir également QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), QDtls::cookieGeneratorParameters() et QCryptographicHash::Algorithm.

Documentation sur les fonctions membres

GeneratorParameters::GeneratorParameters()

Par défaut, l'objet GeneratorParameters est construit avec QCryptographicHash::Sha1 comme algorithme et un secret vide.

Voir aussi QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), et QDtls::cookieGeneratorParameters().

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

Construit un objet GeneratorParameters à partir de algorithm et secret.

Voir aussi QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() et 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.