Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdtls_base_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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_BASE_P_H
5#define QDTLS_BASE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19
21
22#include <QtNetwork/private/qtlsbackend_p.h>
23
24#include <QtNetwork/qsslconfiguration.h>
25#include <QtNetwork/qsslcipher.h>
26#include <QtNetwork/qsslsocket.h>
27#include <QtNetwork/qssl.h>
28
29#include <QtNetwork/qhostaddress.h>
30
31#include <QtCore/qcryptographichash.h>
32#include <QtCore/qbytearray.h>
33#include <QtCore/qglobal.h>
34#include <QtCore/qstring.h>
35
37
38// This class exists to re-implement the shared error/cookie handling
39// for both QDtls and QDtlsClientVerifier classes. Use it if/when
40// you need it. Backend neutral.
77
79
80#endif // QDTLS_BASE_P_H
\inmodule QtCore
Definition qbytearray.h:57
QSsl::SslProtocol sessionProtocol
QSslCipher sessionCipher
QHostAddress remoteAddress
QSslConfiguration configuration() const override
QCryptographicHash::Algorithm hashAlgorithm
QDtlsError error() const override
void setConfiguration(const QSslConfiguration &configuration) override
QString errorDescription
bool setCookieGeneratorParameters(const GenParams &) override
QString errorString() const override
QDtlsError errorCode
void clearDtlsError() override
QByteArray secret
GenParams cookieGeneratorParameters() const override
void setDtlsError(QDtlsError code, const QString &description) override
Definition qdtls_base.cpp:8
QSslConfiguration dtlsConfiguration
static bool isDtlsProtocol(QSsl::SslProtocol protocol)
QDtlsBasePrivate(QSslSocket::SslMode m, const QByteArray &s)
The QHostAddress class provides an IP address.
The QSslCipher class represents an SSL cryptographic cipher.
Definition qsslcipher.h:22
The QSslConfiguration class holds the configuration and state of an SSL connection.
SslMode
Describes the connection modes available for QSslSocket.
Definition qsslsocket.h:33
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
SslProtocol
Describes the protocol of the cipher.
Definition qssl.h:50
@ UnknownProtocol
Definition qssl.h:69
Combined button and popup list for selecting options.
QDtlsError
Definition qdtls.h:25
GLenum mode
const GLfloat * m
GLdouble s
[6]
Definition qopenglext.h:235
#define QT_REQUIRE_CONFIG(feature)
unsigned short quint16
Definition qtypes.h:48