QOpcUaX509Extension Class | Qt OPC UA 6.4.1

- Qt 6.4
- Qt OPC UA
- C++ Classes
- QOpcUaX509Extension
- Qt 6.4.1 Reference Documentation

# QOpcUaX509Extension Class

Base class for all X509 extensions. More...

Header: | #include <QOpcUaX509Extension>
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: | QT += opcua
Since: | Qt 5.14
Inherited By: | QOpcUaX509ExtensionBasicConstraints, QOpcUaX509ExtensionExtendedKeyUsage, QOpcUaX509ExtensionKeyUsage, and QOpcUaX509ExtensionSubjectAlternativeName

- List of all members, including inherited members

## Public Functions

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

## Protected Functions

| QOpcUaX509Extension(QSharedDataPointer<QOpcUaX509ExtensionData> rhs)

## Detailed Description

This class is currently available as a Technology Preview, and therefore the API and functionality provided by the class may be subject to change at any time without prior notice.

See also QOpcUaX509ExtensionSubjectAlternativeName, QOpcUaX509ExtensionBasicConstraints, QOpcUaX509ExtensionKeyUsage, and QOpcUaX509ExtensionKeyUsage.

## Member Function Documentation

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

Constructs a X509Extension from rhs.

### QOpcUaX509Extension::QOpcUaX509Extension(const QOpcUaX509Extension &rhs)

Constructs a X509Extension from rhs.

### QOpcUaX509Extension::QOpcUaX509Extension()

Constructs a default X509Extension.

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

Sets the values from rhs in this X509Extension.

### `[virtual]` QOpcUaX509Extension::~QOpcUaX509Extension()

Destructs a X509Extension.

### bool QOpcUaX509Extension::critical() const

Return the state of the critical flag.

See also setCritical().

### void QOpcUaX509Extension::setCritical(bool critical)

Sets the critical flag to critical.

See also critical().

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

Returns `true` if this X509Extension has the same value as rhs.