QDtlsClientVerifier::GeneratorParameters Struct
struct QDtlsClientVerifier::GeneratorParametersCette classe définit les paramètres du générateur de cookies DTLS. En savoir plus…
- Liste de tous les membres, y compris les membres hérités
- GeneratorParameters fait partie de l'API de programmation réseau.
Fonctions publiques
| GeneratorParameters() | |
| GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret) |
Description détaillée
Un objet de cette classe fournit les paramètres que la fonction QDtlsClientVerifier utilisera pour générer des cookies DTLS. Ceux-ci comprennent un algorithme de hachage cryptographique et un secret.
Remarque : un secret vide est considéré comme non valide par la fonction 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 créé avec l'algorithme ` QCryptographicHash::Sha1 ` et un secret vide.
Voir également QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() et QDtls::cookieGeneratorParameters().
GeneratorParameters::GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret)
Crée un objet `GeneratorParameters` à partir de algorithm et secret.
Voir également 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.