1// Copyright (C) 2015 Mikkel Krautz <mikkel@krautz.dk>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
5#ifndef QSSLDIFFIEHELLMANPARAMETERS_P_H
6#define QSSLDIFFIEHELLMANPARAMETERS_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 qssldiffiehellmanparameters.cpp. This header file may change from version to version
14// without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtNetwork/private/qtnetworkglobal_p.h>
20
21#include "qssldiffiehellmanparameters.h"
22
23#include <QSharedData>
24
25QT_BEGIN_NAMESPACE
26
27class QSslDiffieHellmanParametersPrivate : public QSharedData
28{
29public:
30 void initFromDer(const QByteArray &der);
31 void initFromPem(const QByteArray &pem);
32
33 QSslDiffieHellmanParameters::Error error = QSslDiffieHellmanParameters::NoError;
34 QByteArray derData;
35};
36
37QT_END_NAMESPACE
38
39#endif // QSSLDIFFIEHELLMANPARAMETERS_P_H
40

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