In questa pagina

QDtlsClientVerifier::GeneratorParameters Struct

struct QDtlsClientVerifier::GeneratorParameters

Questa classe definisce i parametri per il generatore di cookie DTLS. Maggiori informazioni...

Funzioni pubbliche

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

Descrizione dettagliata

Un oggetto di questa classe fornisce i parametri che QDtlsClientVerifier utilizzerà per generare i cookie DTLS. Questi includono un algoritmo di hash crittografico e un segreto.

Nota: un segreto vuoto viene considerato non valido da QDtlsClientVerifier::setCookieGeneratorParameters().

Vedi anche QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), QDtls::cookieGeneratorParameters() e QCryptographicHash::Algorithm.

Documentazione delle funzioni membro

GeneratorParameters::GeneratorParameters()

Per impostazione predefinita, crea un oggetto `GeneratorParameters` con l'algoritmo ` QCryptographicHash::Sha1 ` e un segreto vuoto.

Vedi anche QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters() e QDtls::cookieGeneratorParameters().

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

Crea l'oggetto `GeneratorParameters` a partire da algorithm e secret.

Vedi anche 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.