Class for X509 extended key usage. 更多...
头: | #include <QOpcUaX509ExtensionExtendedKeyUsage> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
继承: | QOpcUaX509Extension |
enum class | KeyUsage { TlsWebServerAuthentication, TlsWebClientAuthentication, SignExecutableCode, EmailProtection } |
QOpcUaX509ExtensionExtendedKeyUsage () | |
QOpcUaX509ExtensionExtendedKeyUsage (const QOpcUaX509ExtensionExtendedKeyUsage & rhs ) | |
virtual | ~QOpcUaX509ExtensionExtendedKeyUsage () |
bool | keyUsage (QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage ) const |
void | setKeyUsage (QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage , bool enable = true) |
QOpcUaX509ExtensionExtendedKeyUsage & | operator= (const QOpcUaX509ExtensionExtendedKeyUsage & rhs ) |
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.
常量 | 值 | 描述 |
---|---|---|
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.
Constructs a X509ExtensionExtendedKeyUsage from rhs .
[virtual noexcept]
QOpcUaX509ExtensionExtendedKeyUsage::
~QOpcUaX509ExtensionExtendedKeyUsage
()
Destructs a X509ExtensionExtendedKeyUsage.
Returns the key usage flag for keyUsage .
另请参阅 setKeyUsage ().
Sets the key usage flag in keyUsage to enable .
另请参阅 keyUsage ().
设置值从 rhs in this X509ExtensionExtendedKeyUsage.
返回
true
if this X509ExtensionExtendedKeyUsage has the same value as
rhs
.