5#ifndef QSSLKEYINGMATERIAL_H
6#define QSSLKEYINGMATERIAL_H
8#include <QtNetwork/qtnetworkglobal.h>
10#include <QtCore/qbytearray.h>
11#include <QtCore/qcompare.h>
12#include <QtCore/qtypes.h>
36 const QByteArray &context)
45 return !label().isEmpty() && requestedSize() > 0;
65 return keyingValueSize;
70 keyingLabel.swap(other.keyingLabel);
71 keyingContext.swap(other.keyingContext);
72 keyingValue.swap(other.keyingValue);
73 std::swap(keyingValueSize, other.keyingValueSize);
77 QByteArray keyingLabel;
78 QByteArray keyingContext;
79 QByteArray keyingValue;
80 qsizetype keyingValueSize = 0;
85 return lhs.keyingLabel == rhs.keyingLabel
86 && lhs.keyingContext == rhs.keyingContext
87 && lhs.keyingValue == rhs.keyingValue
88 && lhs.keyingValueSize == rhs.keyingValueSize;
96#ifndef QT_NO_DEBUG_STREAM
103Q_DECLARE_SHARED(QSslKeyingMaterial)
QDtlsClientVerifierPrivate()
~QDtlsClientVerifierPrivate()
This class represents Online Certificate Status Protocol response.
The QSslCertificate class provides a convenient API for an X509 certificate.
The QSslCipher class represents an SSL cryptographic cipher.
The QSslKey class provides an interface for private and public keys.
Describes exported keying material derived from a TLS session.
QByteArray context() const noexcept
Returns the optional context value used for deriving the keying material.
qsizetype requestedSize() const noexcept
The desired size of the keying material.
QByteArray label() const noexcept
Returns the exporter label used for deriving the keying material.
void swap(QSslKeyingMaterial &other) noexcept
\memberswap{keying material}
bool isValid() const noexcept
Returns true if this QSslKeyingMaterial object describes a valid exporter request.
QSslKeyingMaterial(const QByteArray &label, qsizetype size)
QSslKeyingMaterial()=default
Default-constructs an instance of QSslKeyingMaterial.
QSslKeyingMaterial(const QByteArray &label, qsizetype size, const QByteArray &context)
Constructs a QSslKeyingMaterial object with the given exporter label, output size,...
QByteArray value() const noexcept
Returns the exported keying material.
friend bool comparesEqual(const QSslKeyingMaterial &lhs, const QSslKeyingMaterial &rhs) noexcept
The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) cipher...
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
Combined button and popup list for selecting options.
Namespace containing onternal types that TLS backends implement.
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
static QT_BEGIN_NAMESPACE QString msgUnsupportedMulticastAddress()
QT_REQUIRE_CONFIG(liburing)