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
qtlsbackend_st_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 QTLSBACKEND_ST_P_H
5#define QTLSBACKEND_ST_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
20#include <QtNetwork/private/qtlsbackend_p.h>
21
22#include <QtCore/qglobal.h>
23
24
26
28{
32
33private:
34
35 QString tlsLibraryVersionString() const override;
36 virtual QString tlsLibraryBuildVersionString() const override;
37 virtual void ensureInitialized() const override;
38
39 QString backendName() const override;
40
41 QList<QSsl::SslProtocol> supportedProtocols() const override;
42 QList<QSsl::SupportedFeature> supportedFeatures() const override;
43 QList<QSsl::ImplementedClass> implementedClasses() const override;
44
45 QTlsPrivate::TlsKey *createKey() const override;
47
48 QList<QSslCertificate> systemCaCertificates() const override;
49
52
53 QTlsPrivate::TlsCryptograph *createTlsCryptograph() const override;
54
55 static bool s_loadedCiphersAndCerts;
56};
57
58Q_DECLARE_LOGGING_CATEGORY(lcSecureTransport)
59
61
62#endif // QTLSBACKEND_ST_P_H
63
64
QList< QSsl::SslProtocol > supportedProtocols() const override
QList< QSsl::SupportedFeature > supportedFeatures() const override
QTlsPrivate::X509Certificate * createCertificate() const override
QTlsPrivate::TlsCryptograph * createTlsCryptograph() const override
QList< QSsl::ImplementedClass > implementedClasses() const override
virtual void ensureInitialized() const override
QString tlsLibraryVersionString() const override
virtual QString tlsLibraryBuildVersionString() const override
QTlsPrivate::TlsKey * createKey() const override
QString backendName() const override
QTlsPrivate::X509PemReaderPtr X509PemReader() const override
QTlsPrivate::X509DerReaderPtr X509DerReader() const override
QList< QSslCertificate > systemCaCertificates() const override
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QTlsBackend is a factory class, providing implementations for the QSsl classes.
TlsKey is an abstract class, that allows a TLS plugin to provide an underlying implementation for the...
X509Certificate is an abstract class that allows a TLS backend to provide an implementation of the QS...
Combined button and popup list for selecting options.
QList< QSslCertificate >(*)(const QByteArray &pem, int count) X509PemReaderPtr
X509PemReaderPtr X509DerReaderPtr
#define Q_DECLARE_LOGGING_CATEGORY(name)
#define QTlsBackend_iid
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_INTERFACES(x)