QOpcUaX509ExtensionKeyUsage Class

Class for X509 extended key usage. More...

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

This class was introduced in Qt 5.14.

Public Types

enum KeyUsage { DigitalSignature, NonRepudiation, KeyEncipherment, DataEncipherment, ..., DecipherOnly }

Public Functions

QOpcUaX509ExtensionKeyUsage(const QOpcUaX509ExtensionKeyUsage &rhs)
QOpcUaX509ExtensionKeyUsage()
QOpcUaX509ExtensionKeyUsage &operator=(const QOpcUaX509ExtensionKeyUsage &rhs)
virtual ~QOpcUaX509ExtensionKeyUsage()
bool keyUsage(QOpcUaX509ExtensionKeyUsage::KeyUsage keyUsage) const
void setKeyUsage(QOpcUaX509ExtensionKeyUsage::KeyUsage keyUsage, bool enable = true)
bool operator==(const QOpcUaX509ExtensionKeyUsage &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 QOpcUaX509ExtensionKeyUsage::KeyUsage

Enum with entry types for X509ExtensionKeyUsage.

ConstantValueDescription
QOpcUaX509ExtensionKeyUsage::DigitalSignature0Permits digital signatures
QOpcUaX509ExtensionKeyUsage::NonRepudiation1Permits non repudiation
QOpcUaX509ExtensionKeyUsage::KeyEncipherment2Permits key encipherment
QOpcUaX509ExtensionKeyUsage::DataEncipherment3Permits data encipherment
QOpcUaX509ExtensionKeyUsage::KeyAgreement4Permits key agreement
QOpcUaX509ExtensionKeyUsage::CertificateSigning5Permits certificate signing
QOpcUaX509ExtensionKeyUsage::CrlSigning6Permits CRL signing
QOpcUaX509ExtensionKeyUsage::EnciptherOnly7Restricts to encipherment only
QOpcUaX509ExtensionKeyUsage::DecipherOnly8Restricts to decipher only

Member Function Documentation

QOpcUaX509ExtensionKeyUsage::QOpcUaX509ExtensionKeyUsage(const QOpcUaX509ExtensionKeyUsage &rhs)

Constructs a X509ExtensionKeyUsage from rhs.

QOpcUaX509ExtensionKeyUsage::QOpcUaX509ExtensionKeyUsage()

Constructs a X509ExtensionKeyUsage.

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

Sets the values from rhs in this X509ExtensionKeyUsage.

[virtual] QOpcUaX509ExtensionKeyUsage::~QOpcUaX509ExtensionKeyUsage()

Destructs a X509ExtensionKeyUsage.

bool QOpcUaX509ExtensionKeyUsage::keyUsage(QOpcUaX509ExtensionKeyUsage::KeyUsage keyUsage) const

Returns the key usage flag for keyUsage.

See also setKeyUsage().

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

Sets the key usage flag in keyUsage to enable.

See also keyUsage().

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

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

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