40 #ifndef QSSLPRESHAREDKEYAUTHENTICATOR_H
41 #define QSSLPRESHAREDKEYAUTHENTICATOR_H
43 #include <QtNetwork/qtnetworkglobal.h>
44 #include <QtCore/QString>
45 #include <QtCore/QSharedDataPointer>
46 #include <QtCore/QMetaType>
81 {
return lhs.isEqual(
rhs); }
83 {
return !lhs.isEqual(
rhs); }
The QByteArray class provides an array of bytes.
void swap(QSharedDataPointer &other) noexcept
The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) cipher...
friend bool operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs)
void swap(QSslPreSharedKeyAuthenticator &other) noexcept
QSslPreSharedKeyAuthenticator & operator=(QSslPreSharedKeyAuthenticator &&other) noexcept
Q_NETWORK_EXPORT void setIdentity(const QByteArray &identity)
Q_NETWORK_EXPORT QByteArray identityHint() const
Q_NETWORK_EXPORT QSslPreSharedKeyAuthenticator()
Q_NETWORK_EXPORT QByteArray preSharedKey() const
Q_NETWORK_EXPORT int maximumIdentityLength() const
Q_NETWORK_EXPORT ~QSslPreSharedKeyAuthenticator()
Q_NETWORK_EXPORT QSslPreSharedKeyAuthenticator & operator=(const QSslPreSharedKeyAuthenticator &authenticator)
Q_NETWORK_EXPORT QByteArray identity() const
Q_NETWORK_EXPORT void setPreSharedKey(const QByteArray &preSharedKey)
Q_NETWORK_EXPORT int maximumPreSharedKeyLength() const
friend bool operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs)
#define Q_DECLARE_SHARED(TYPE)