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
qtlsbackend_cert_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// Qt-Security score:significant reason:default
4
5#ifndef QTLSBACKEND_CERT_P_H
6#define QTLSBACKEND_CERT_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 purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtNetwork/private/qtnetworkglobal_p.h>
20
21#include <QtNetwork/private/qtlsbackend_p.h>
22
23#include <QtCore/qglobal.h>
24
25QT_BEGIN_NAMESPACE
26
27class QTlsBackendCertOnly final : public QTlsBackend
28{
29 Q_OBJECT
30 Q_PLUGIN_METADATA(IID QTlsBackend_iid)
31 Q_INTERFACES(QTlsBackend)
32private:
33 QString backendName() const override;
34
35 QList<QSsl::SslProtocol> supportedProtocols() const override;
36 QList<QSsl::SupportedFeature> supportedFeatures() const override;
37 QList<QSsl::ImplementedClass> implementedClasses() const override;
38
39 QTlsPrivate::X509Certificate *createCertificate() const override;
40 QTlsPrivate::X509PemReaderPtr X509PemReader() const override;
41 QTlsPrivate::X509DerReaderPtr X509DerReader() const override;
42};
43
44QT_END_NAMESPACE
45
46#endif // QTLSBACKEND_CERT_P_H
Definition qlist.h:80
SupportedFeature
Enumerates possible features that a TLS backend supports.
Definition qssl.h:146
ImplementedClass
Enumerates classes that a TLS backend implements.
Definition qssl.h:134
AlertLevel
Describes the level of an alert message.
Definition qssl.h:88
SslProtocol
Describes the protocol of the cipher.
Definition qssl.h:52
Namespace containing onternal types that TLS backends implement.