4#ifndef QSSLPRESHAREDKEYAUTHENTICATOR_P_H
5#define QSSLPRESHAREDKEYAUTHENTICATOR_P_H
18#include <QtNetwork/private/qtnetworkglobal_p.h>
23class QSslPreSharedKeyAuthenticatorPrivate :
public QSharedData
26 QSslPreSharedKeyAuthenticatorPrivate();
28 QByteArray identityHint;
31 int maximumIdentityLength;
33 QByteArray preSharedKey;
34 int maximumPreSharedKeyLength;
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
\memberswap{authenticator}
QSslPreSharedKeyAuthenticator & operator=(QSslPreSharedKeyAuthenticator &&other) noexcept
Move-assigns the QSslPreSharedKeyAuthenticator object authenticator to this object,...
Q_NETWORK_EXPORT void setIdentity(const QByteArray &identity)
Sets the PSK client identity (to be advised to the server) to identity.
friend bool operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs)
Q_NETWORK_EXPORT int maximumIdentityLength() const
Returns the maximum length, in bytes, of the PSK client identity.
Q_NETWORK_EXPORT ~QSslPreSharedKeyAuthenticator()
Destroys the QSslPreSharedKeyAuthenticator object.
Q_NETWORK_EXPORT void setPreSharedKey(const QByteArray &preSharedKey)
Sets the pre shared key to preSharedKey.
Q_NETWORK_EXPORT int maximumPreSharedKeyLength() const
Returns the maximum length, in bytes, of the pre shared key.
Combined button and popup list for selecting options.