En esta página

QDtlsClientVerifier::GeneratorParameters Struct

struct QDtlsClientVerifier::GeneratorParameters

Esta clase define los parámetros del generador de cookies de DTLS. Más información...

Funciones públicas

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

Descripción detallada

Un objeto de esta clase proporciona los parámetros que utilizará QDtlsClientVerifier para generar cookies DTLS. Entre ellos se incluyen un algoritmo de hash criptográfico y un secreto.

Nota: « QDtlsClientVerifier::setCookieGeneratorParameters()» considera inválidoun secreto vacío.

Véase también QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), QDtls::cookieGeneratorParameters() y QCryptographicHash::Algorithm.

Documentación de funciones de miembro

GeneratorParameters::GeneratorParameters()

Por defecto, crea un objeto `GeneratorParameters` con « QCryptographicHash::Sha1 » como algoritmo y un secreto vacío.

Véase también QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() y QDtls::cookieGeneratorParameters().

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

Crea un objeto `GeneratorParameters` a partir de algorithm y secret.

Véase también QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() y 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.