1// Copyright (C) 2014 Governikus GmbH & Co. KG.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSSLPRESHAREDKEYAUTHENTICATOR_P_H
5#define QSSLPRESHAREDKEYAUTHENTICATOR_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include <QSharedData>
20
21QT_BEGIN_NAMESPACE
22
23class QSslPreSharedKeyAuthenticatorPrivate : public QSharedData
24{
25public:
26 QSslPreSharedKeyAuthenticatorPrivate();
27
28 QByteArray identityHint;
29
30 QByteArray identity;
31 int maximumIdentityLength;
32
33 QByteArray preSharedKey;
34 int maximumPreSharedKeyLength;
35};
36
37QT_END_NAMESPACE
38
39#endif // QSSLPRESHAREDKEYAUTHENTICATOR_P_H
40

source code of qtbase/src/network/ssl/qsslpresharedkeyauthenticator_p.h