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
qsslkey_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QSSLKEY_OPENSSL_P_H
7#define QSSLKEY_OPENSSL_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 for the convenience
14// of qsslcertificate.cpp. This header file may change from version to version
15// without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtNetwork/private/qtnetworkglobal_p.h>
21
22#include "qsslkey.h"
23#include "qssl_p.h"
24
25#include <memory>
26
28
29namespace QTlsPrivate {
30class TlsKey;
31}
32
34{
35public:
38
40
41 Q_NETWORK_EXPORT static QByteArray decrypt(Cipher cipher, const QByteArray &data, const QByteArray &key, const QByteArray &iv);
42 Q_NETWORK_EXPORT static QByteArray encrypt(Cipher cipher, const QByteArray &data, const QByteArray &key, const QByteArray &iv);
43
46
47private:
49};
50
51QT_END_NAMESPACE
52
53#endif // QSSLKEY_OPENSSL_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.
QAtomicInt ref
Definition qsslkey_p.h:45
std::unique_ptr< QTlsPrivate::TlsKey > backend
Definition qsslkey_p.h:44
Namespace containing onternal types that TLS backends implement.
static const char *const certificate_blacklist[]
size_t qHash(const QSslCertificate &key, size_t seed) noexcept