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

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