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_st.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
4
#include "
qtlskey_st_p.h
"
5
#include "
qx509_st_p.h
"
6
7
#include <memory>
8
9
QT_BEGIN_NAMESPACE
10
11
namespace
QTlsPrivate
{
12
13
TlsKey
*
X509CertificateSecureTransport::publicKey
()
const
14
{
15
auto
key
= std::make_unique<TlsKeySecureTransport>(
QSsl::PublicKey
);
16
if
(
publicKeyAlgorithm
!=
QSsl::Opaque
)
17
key
->decodeDer(
QSsl::PublicKey
,
publicKeyAlgorithm
,
publicKeyDerData
, {},
false
);
18
19
return
key
.release();
20
}
21
22
}
// namespace QTlsPrivate
23
24
QT_END_NAMESPACE
25
QTlsPrivate::TlsKey
TlsKey is an abstract class, that allows a TLS plugin to provide an underlying implementation for the...
Definition
qtlsbackend_p.h:60
QTlsPrivate::X509CertificateGeneric::publicKeyDerData
QByteArray publicKeyDerData
Definition
qx509_generic_p.h:52
QTlsPrivate::X509CertificateGeneric::publicKeyAlgorithm
QSsl::KeyAlgorithm publicKeyAlgorithm
Definition
qx509_generic_p.h:51
QTlsPrivate::X509CertificateSecureTransport::publicKey
TlsKey * publicKey() const override
Definition
qx509_st.cpp:13
QSsl::PublicKey
@ PublicKey
Definition
qssl.h:24
QSsl::Opaque
@ Opaque
Definition
qssl.h:35
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QTlsPrivate
Namespace containing onternal types that TLS backends implement.
Definition
qocspresponse.h:40
key
GLuint64 key
Definition
qopengles2ext.h:2268
qtlskey_st_p.h
qx509_st_p.h
qtbase
src
plugins
tls
securetransport
qx509_st.cpp
Generated by
1.10.0