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 |
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: