This class defines parameters for DTLS cookie generator. More...
This struct was introduced in Qt 5.12.
GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret) | |
GeneratorParameters() |
An object of this class provides the parameters that QDtlsClientVerifier will use to generate DTLS cookies. They include a cryptographic hash algorithm and a secret.
Note: An empty secret is considered to be invalid by QDtlsClientVerifier::setCookieGeneratorParameters().
See also QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), QDtls::cookieGeneratorParameters(), and QCryptographicHash::Algorithm.
Constructs GeneratorParameters object from algorithm and secret.
See also QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), and QDtls::cookieGeneratorParameters().
Default constructs GeneratorParameters object with QCryptographicHash::Sha1 as its algorithm and an empty secret.
See also QDtlsClientVerifier::setCookieGeneratorParameters(), QDtlsClientVerifier::cookieGeneratorParameters(), QDtls::setCookieGeneratorParameters(), and QDtls::cookieGeneratorParameters().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: