Nesta página

QDtlsClientVerifier::GeneratorParameters Struct

struct QDtlsClientVerifier::GeneratorParameters

Esta classe define parâmetros para o gerador de cookies DTLS. Mais...

Funções públicas

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

Descrição detalhada

Um objeto desta classe fornece os parâmetros que ` QDtlsClientVerifier ` usará para gerar cookies DTLS. Eles incluem um algoritmo de hash criptográfico e um segredo.

Observação: um segredo vazio é considerado inválido pelo QDtlsClientVerifier::setCookieGeneratorParameters().

Veja também QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), QDtls::cookieGeneratorParameters() e QCryptographicHash::Algorithm.

Documentação das funções-membro

GeneratorParameters::GeneratorParameters()

Por padrão, cria um objeto `GeneratorParameters` com o algoritmo ` QCryptographicHash::Sha1 ` e um segredo vazio.

Veja também QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() e QDtls::cookieGeneratorParameters().

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

Cria o objeto `GeneratorParameters` a partir de algorithm e secret.

Veja também QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() e 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.