![]() |
Qt 6.x
The Qt SDK
|
This class defines parameters for DTLS cookie generator. More...
#include <qdtls.h>
Public Member Functions | |
GeneratorParameters () | |
Default constructs GeneratorParameters object with QCryptographicHash::Sha1 as its algorithm and an empty secret. | |
GeneratorParameters (QCryptographicHash::Algorithm a, const QByteArray &s) | |
Constructs GeneratorParameters object from algorithm and secret. | |
Public Attributes | |
QCryptographicHash::Algorithm | hash = QCryptographicHash::Sha1 |
QByteArray | secret |
This class defines parameters for DTLS cookie generator.
\inmodule QtNetwork
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.
QDtlsClientVerifier::GeneratorParameters::GeneratorParameters | ( | ) |
Default constructs GeneratorParameters object with QCryptographicHash::Sha1 as its algorithm and an empty secret.
QDtlsClientVerifier::GeneratorParameters::GeneratorParameters | ( | QCryptographicHash::Algorithm | algorithm, |
const QByteArray & | secret | ||
) |
Constructs GeneratorParameters object from algorithm and secret.
QCryptographicHash::Algorithm QDtlsClientVerifier::GeneratorParameters::hash = QCryptographicHash::Sha1 |
QByteArray QDtlsClientVerifier::GeneratorParameters::secret |