QOpcUaX509Extension Class

所有 X509 扩展的基类。更多

头文件: #include <QOpcUaX509Extension>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua
继承者:

QOpcUaX509ExtensionBasicConstraints,QOpcUaX509ExtensionExtendedKeyUsage,QOpcUaX509ExtensionKeyUsage, 以及QOpcUaX509ExtensionSubjectAlternativeName

公共函数

QOpcUaX509Extension()
QOpcUaX509Extension(const QOpcUaX509Extension &rhs)
virtual ~QOpcUaX509Extension()
bool critical() const
void setCritical(bool critical)
QOpcUaX509Extension &operator=(const QOpcUaX509Extension &rhs)
bool operator==(const QOpcUaX509Extension &rhs) const

保护函数

QOpcUaX509Extension(QSharedDataPointer<QOpcUaX509ExtensionData> rhs)

详细说明

该类目前为技术预览版,因此该类提供的 API 和功能可能会随时更改,恕不另行通知。

另请参见 QOpcUaX509ExtensionSubjectAlternativeName,QOpcUaX509ExtensionBasicConstraints,QOpcUaX509ExtensionKeyUsage, 和QOpcUaX509ExtensionKeyUsage

成员函数文档

QOpcUaX509Extension::QOpcUaX509Extension()

构建默认 X509Extension。

[protected] QOpcUaX509Extension::QOpcUaX509Extension(QSharedDataPointer<QOpcUaX509ExtensionData> rhs)

rhs 构建 X509Extension。

QOpcUaX509Extension::QOpcUaX509Extension(const QOpcUaX509Extension &rhs)

rhs 构建 X509Extension。

[virtual noexcept] QOpcUaX509Extension::~QOpcUaX509Extension()

销毁 X509Extension。

bool QOpcUaX509Extension::critical() const

返回临界标志的状态。

另请参阅 setCritical().

void QOpcUaX509Extension::setCritical(bool critical)

将临界标志设置为critical

另请参阅 critical() 。

QOpcUaX509Extension &QOpcUaX509Extension::operator=(const QOpcUaX509Extension &rhs)

设置该 X509Extension 中rhs 的值。

bool QOpcUaX509Extension::operator==(const QOpcUaX509Extension &rhs) const

如果此 X509Extension 的值与rhs 相同,则返回true

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.