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.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// Qt-Security score:significant reason:default
4
6
7#include "../shared/qx509_generic_p.h"
8
9#include <qssl.h>
10
11#include <qlist.h>
12
14
15QString QTlsBackendCertOnly::backendName() const
16{
17 return builtinBackendNames[nameIndexCertOnly];
18}
19
20
21QList<QSsl::SslProtocol> QTlsBackendCertOnly::supportedProtocols() const
22{
23 return {};
24}
25
26QList<QSsl::SupportedFeature> QTlsBackendCertOnly::supportedFeatures() const
27{
28 return {};
29}
30
31QList<QSsl::ImplementedClass> QTlsBackendCertOnly::implementedClasses() const
32{
33 QList<QSsl::ImplementedClass> classes;
35
36 return classes;
37}
38
39QTlsPrivate::X509Certificate *QTlsBackendCertOnly::createCertificate() const
40{
42}
43
44QTlsPrivate::X509PemReaderPtr QTlsBackendCertOnly::X509PemReader() const
45{
46 return QTlsPrivate::X509CertificateGeneric::certificatesFromPem;
47}
48
49QTlsPrivate::X509DerReaderPtr QTlsBackendCertOnly::X509DerReader() const
50{
51 return QTlsPrivate::X509CertificateGeneric::certificatesFromDer;
52}
53
54QT_END_NAMESPACE
55
56#include "moc_qtlsbackend_cert_p.cpp"
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.