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
qx509_schannel_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#ifndef QX509_SCHANNEL_P_H
5#define QX509_SCHANNEL_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19
22
23#include <QtCore/qglobal.h>
24
26
27namespace QTlsPrivate {
28
30{
31public:
34
35 TlsKey *publicKey() const override;
36 Qt::HANDLE handle() const override;
37
38 static QSslCertificate QSslCertificate_from_CERT_CONTEXT(const CERT_CONTEXT *certificateContext);
39
41 QList<QSslCertificate> *caCertificates,
42 const QByteArray &passPhrase);
43private:
44 const CERT_CONTEXT *certificateContext = nullptr;
45
46 Q_DISABLE_COPY_MOVE(X509CertificateSchannel);
47};
48
49} // namespace QTlsPrivate
50
52
53#endif // QX509_SCHANNEL_P_H
IOBluetoothDevice * device
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore \reentrant
Definition qiodevice.h:34
The QSslCertificate class provides a convenient API for an X509 certificate.
The QSslKey class provides an interface for private and public keys.
Definition qsslkey.h:23
TlsKey is an abstract class, that allows a TLS plugin to provide an underlying implementation for the...
TlsKey * publicKey() const override
Qt::HANDLE handle() const override
static bool importPkcs12(QIODevice *device, QSslKey *key, QSslCertificate *cert, QList< QSslCertificate > *caCertificates, const QByteArray &passPhrase)
static QSslCertificate QSslCertificate_from_CERT_CONTEXT(const CERT_CONTEXT *certificateContext)
Combined button and popup list for selecting options.
Namespace containing onternal types that TLS backends implement.
void * HANDLE
GLuint64 key
QList< QSslCertificate > cert
[0]