1// Copyright (C) 2017 The Qt Company Ltd.
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 QDTLS_P_H
6#define QDTLS_P_H
7
8#include <private/qtnetworkglobal_p.h>
9
10#include "qtlsbackend_p.h"
11
12#include <QtCore/private/qobject_p.h>
13//
14// W A R N I N G
15// -------------
16//
17// This file is not part of the Qt API. It exists purely as an
18// implementation detail. This header file may change from version to
19// version without notice, or even be removed.
20//
21// We mean it.
22//
23
24QT_REQUIRE_CONFIG(dtls);
25
26QT_BEGIN_NAMESPACE
27
28class QHostAddress;
29
30class QDtlsClientVerifierPrivate : public QObjectPrivate
31{
32public:
33 QDtlsClientVerifierPrivate();
34 ~QDtlsClientVerifierPrivate();
35 std::unique_ptr<QTlsPrivate::DtlsCookieVerifier> backend;
36};
37
38class QDtlsPrivate : public QObjectPrivate
39{
40public:
41 QDtlsPrivate();
42 ~QDtlsPrivate();
43 std::unique_ptr<QTlsPrivate::DtlsCryptograph> backend;
44};
45
46QT_END_NAMESPACE
47
48#endif // QDTLS_P_H
49

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