Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsslcertificateextension.h
Go to the documentation of this file.
1// Copyright (C) 2011 Richard J. Moore <rich@kde.org>
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 QSSLCERTIFICATEEXTENSION_H
5#define QSSLCERTIFICATEEXTENSION_H
6
7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtCore/qnamespace.h>
9#include <QtCore/qshareddata.h>
10#include <QtCore/qstring.h>
11#include <QtCore/qvariant.h>
12
14
16
17class Q_NETWORK_EXPORT QSslCertificateExtension
18{
19public:
25
26 void swap(QSslCertificateExtension &other) noexcept { d.swap(other.d); }
27
28 QString oid() const;
29 QString name() const;
30 QVariant value() const;
31 bool isCritical() const;
32
33 bool isSupported() const;
34
35private:
38};
39
40Q_DECLARE_SHARED(QSslCertificateExtension)
41
43
44
45#endif // QSSLCERTIFICATEEXTENSION_H
46
47
\inmodule QtCore
Definition qshareddata.h:35
The QSslCertificateExtension class provides an API for accessing the extensions of an X509 certificat...
void swap(QSslCertificateExtension &other) noexcept
Swaps this certificate extension instance with other.
QSslCertificateExtension & operator=(QSslCertificateExtension &&other) noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qvariant.h:64
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint name
QSharedPointer< T > other(t)
[5]
this swap(other)