Qt 6.x
The Qt SDK
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:25
#define qDebug
[1]
Definition qlogging.h:160
QList< QSslCertificate > cert
[0]
const auto certs
[1]