Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QOpcUaX509ExtensionExtendedKeyUsage Class

Class for X509 extended key usage. More...

Header: #include <QOpcUaX509ExtensionExtendedKeyUsage>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua
Since: Qt 5.14
Inherits: QOpcUaX509Extension

Public Types

enum class KeyUsage { TlsWebServerAuthentication, TlsWebClientAuthentication, SignExecutableCode, EmailProtection }

Public Functions

QOpcUaX509ExtensionExtendedKeyUsage(const QOpcUaX509ExtensionExtendedKeyUsage &rhs)
QOpcUaX509ExtensionExtendedKeyUsage()
QOpcUaX509ExtensionExtendedKeyUsage & operator=(const QOpcUaX509ExtensionExtendedKeyUsage &rhs)
virtual ~QOpcUaX509ExtensionExtendedKeyUsage()
bool keyUsage(QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage) const
void setKeyUsage(QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage, bool enable = true)
bool operator==(const QOpcUaX509ExtensionExtendedKeyUsage &rhs) const

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.

Member Type Documentation

enum class QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage

Enum with entry types for X509ExtensionExtendedKeyUsage.

Constant Value Description
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::TlsWebServerAuthentication 0 Permits TLS webserver Authentication
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::TlsWebClientAuthentication 1 Permits TLS client authentication
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::SignExecutableCode 2 Permits signature of executable code
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::EmailProtection 3 Permits signing emails

Member Function Documentation

QOpcUaX509ExtensionExtendedKeyUsage::QOpcUaX509ExtensionExtendedKeyUsage(const QOpcUaX509ExtensionExtendedKeyUsage &rhs)

Constructs a X509ExtensionExtendedKeyUsage from rhs.

QOpcUaX509ExtensionExtendedKeyUsage::QOpcUaX509ExtensionExtendedKeyUsage()

Constructs a X509ExtensionExtendedKeyUsage.

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

Sets the values from rhs in this X509ExtensionExtendedKeyUsage.

[virtual] QOpcUaX509ExtensionExtendedKeyUsage::~QOpcUaX509ExtensionExtendedKeyUsage()

Destructs a X509ExtensionExtendedKeyUsage.

bool QOpcUaX509ExtensionExtendedKeyUsage::keyUsage(QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage) const

Returns the key usage flag for keyUsage.

See also setKeyUsage().

void QOpcUaX509ExtensionExtendedKeyUsage::setKeyUsage(QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage, bool enable = true)

Sets the key usage flag in keyUsage to enable.

See also keyUsage().

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

Returns true if this X509ExtensionExtendedKeyUsage has the same value as rhs.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded