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
4
5#ifndef QSSLCERTIFICATE_P_H
6#define QSSLCERTIFICATE_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
23#include "qtlsbackend_p.h"
24
25#include <qlist.h>
26
27#include <memory>
28
30
32{
33public:
36
37 QList<QSslCertificateExtension> extensions() const;
38 Q_NETWORK_EXPORT static bool isBlacklisted(const QSslCertificate &certificate);
39 Q_NETWORK_EXPORT static QByteArray subjectInfoToString(QSslCertificate::SubjectInfo info);
40
43};
44
45QT_END_NAMESPACE
46
47#endif // QSSLCERTIFICATE_P_H
size_t qHash(const QSslCertificate &key, size_t seed) noexcept
Returns the hash value for the key, using seed to seed the calculation.
Definition qlist.h:76
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.
Combined button and popup list for selecting options.
static const char *const certificate_blacklist[]