Class for X509 extended key usage. More...
Header: | #include <QOpcUaX509ExtensionExtendedKeyUsage> |
qmake: | QT += opcua |
Since: | Qt 5.14 |
Inherits: | QOpcUaX509Extension |
enum class | KeyUsage { TlsWebServerAuthentication, TlsWebClientAuthentication, SignExecutableCode, EmailProtection } |
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 |
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.
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 |
Constructs a X509ExtensionExtendedKeyUsage from rhs.
Constructs a X509ExtensionExtendedKeyUsage.
Sets the values from rhs in this X509ExtensionExtendedKeyUsage.
[virtual]
QOpcUaX509ExtensionExtendedKeyUsage::~QOpcUaX509ExtensionExtendedKeyUsage()
Destructs a X509ExtensionExtendedKeyUsage.
Returns the key usage flag for keyUsage.
See also setKeyUsage().
Sets the key usage flag in keyUsage to enable.
See also keyUsage().
Returns true
if this X509ExtensionExtendedKeyUsage has the same value as rhs.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuax509extensionextendedkeyusage.html