▲
-
Header: GeneratorParameters
-
Since: Qt 5.12
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(mytarget PRIVATE Qt6::Network)
-
qmake: QT += network
-
Group: GeneratorParameters is part of Network Programming API, ssl
Detailed Description▲
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.
An empty secret is considered to be invalid by QDtlsClientVerifier::setCookieGeneratorParameters().
See Also▲
Member Function Documentation▲
GeneratorParameters::GeneratorParameters()▲
Default constructs GeneratorParameters object with QCryptographicHash::Sha1 as its algorithm and an empty secret.
See Also▲
GeneratorParameters::GeneratorParameters(QCryptographicHash::Algorithm algorithm, const QByteArray &secret)▲
Constructs GeneratorParameters object from algorithm and secret.