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_cert.cpp
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
5
7
8#include <qssl.h>
9
10#include <qlist.h>
11
13
18
19
20QList<QSsl::SslProtocol> QTlsBackendCertOnly::supportedProtocols() const
21{
22 return {};
23}
24
25QList<QSsl::SupportedFeature> QTlsBackendCertOnly::supportedFeatures() const
26{
27 return {};
28}
29
30QList<QSsl::ImplementedClass> QTlsBackendCertOnly::implementedClasses() const
31{
32 QList<QSsl::ImplementedClass> classes;
34
35 return classes;
36}
37
42
47
52
54
55#include "moc_qtlsbackend_cert_p.cpp"
56
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QString backendName() const override
QList< QSsl::SslProtocol > supportedProtocols() const override
QTlsPrivate::X509Certificate * createCertificate() const override
QList< QSsl::ImplementedClass > implementedClasses() const override
QList< QSsl::SupportedFeature > supportedFeatures() const override
QTlsPrivate::X509PemReaderPtr X509PemReader() const override
QTlsPrivate::X509DerReaderPtr X509DerReader() const override
static constexpr const int nameIndexCertOnly
static const QString builtinBackendNames[]
static QList< QSslCertificate > certificatesFromDer(const QByteArray &der, int count)
static QList< QSslCertificate > certificatesFromPem(const QByteArray &pem, int count)
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