QOpcUaX509ExtensionExtendedKeyUsage Class

Class for X509 extended key usage. More...

Header: #include <QOpcUaX509ExtensionExtendedKeyUsage>
qmake: QT += opcua
Since: Qt 5.14
Inherits: QOpcUaX509Extension

This class was introduced in Qt 5.14.

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.

ConstantValueDescription
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::TlsWebServerAuthentication0Permits TLS webserver Authentication
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::TlsWebClientAuthentication1Permits TLS client authentication
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::SignExecutableCode2Permits signature of executable code
QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage::EmailProtection3Permits 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.

© 2024 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.