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
src_network_ssl_qsslcertificate.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5const auto certs = QSslCertificate::fromPath("C:/ssl/certificate.*.pem",
7for (const QSslCertificate &cert : certs) {
9}
The QSslCertificate class provides a convenient API for an X509 certificate.
static QList< QSslCertificate > fromPath(const QString &path, QSsl::EncodingFormat format=QSsl::Pem, PatternSyntax syntax=PatternSyntax::FixedString)
@ Pem
Definition qssl.h:29
#define qDebug
[1]
Definition qlogging.h:164
QList< QSslCertificate > cert
[0]
const auto certs
[1]