Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssldiffiehellmanparameters_p.h
Go to the documentation of this file.
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// Qt-Security score:significant reason:default
4
5
6#ifndef QSSLDIFFIEHELLMANPARAMETERS_P_H
7#define QSSLDIFFIEHELLMANPARAMETERS_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists for the convenience
14// of qssldiffiehellmanparameters.cpp. This header file may change from version to version
15// without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtNetwork/private/qtnetworkglobal_p.h>
21
23
24#include <QSharedData>
25
26QT_BEGIN_NAMESPACE
27
28class QSslDiffieHellmanParametersPrivate : public QSharedData
29{
30public:
31 void initFromDer(const QByteArray &der);
32 void initFromPem(const QByteArray &pem);
33
34 QSslDiffieHellmanParameters::Error error = QSslDiffieHellmanParameters::NoError;
35 QByteArray derData;
36};
37
38QT_END_NAMESPACE
39
40#endif // QSSLDIFFIEHELLMANPARAMETERS_P_H
size_t qHash(const QSslDiffieHellmanParameters &dhparam, size_t seed) noexcept