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
qsslcertificate_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
6#ifndef QSSLCERTIFICATE_P_H
7#define QSSLCERTIFICATE_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtNetwork/private/qtnetworkglobal_p.h>
21
24#include "qtlsbackend_p.h"
25
26#include <qlist.h>
27
28#include <memory>
29
31
33{
34public:
37
38 QList<QSslCertificateExtension> extensions() const;
39 Q_NETWORK_EXPORT static bool isBlacklisted(const QSslCertificate &certificate);
40 Q_NETWORK_EXPORT static QByteArray subjectInfoToString(QSslCertificate::SubjectInfo info);
41
44};
45
46QT_END_NAMESPACE
47
48#endif // QSSLCERTIFICATE_P_H
Definition qlist.h:80
The QSslCertificateExtension class provides an API for accessing the extensions of an X509 certificat...
std::unique_ptr< QTlsPrivate::X509Certificate > backend
QList< QSslCertificateExtension > extensions() const
static Q_NETWORK_EXPORT bool isBlacklisted(const QSslCertificate &certificate)
The QSslCertificate class provides a convenient API for an X509 certificate.
static const char *const certificate_blacklist[]
size_t qHash(const QSslCertificate &key, size_t seed) noexcept