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// Qt-Security score:significant reason:default
4
5#ifndef QSSLPRESHAREDKEYAUTHENTICATOR_P_H
6#define QSSLPRESHAREDKEYAUTHENTICATOR_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of other Qt classes. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtNetwork/private/qtnetworkglobal_p.h>
20#include <QSharedData>
21
22QT_BEGIN_NAMESPACE
23
24class QSslPreSharedKeyAuthenticatorPrivate : public QSharedData
25{
26public:
27 QSslPreSharedKeyAuthenticatorPrivate();
28
29 QByteArray identityHint;
30
31 QByteArray identity;
32 int maximumIdentityLength;
33
34 QByteArray preSharedKey;
35 int maximumPreSharedKeyLength;
36};
37
38QT_END_NAMESPACE
39
40#endif // QSSLPRESHAREDKEYAUTHENTICATOR_P_H
41

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