Class for X509 extended key usage. 更多...
头: | #include <QOpcUaX509ExtensionExtendedKeyUsage> |
qmake: | QT += opcua |
Since: | Qt 5.14 |
继承: | QOpcUaX509Extension |
该类在 Qt 5.14 引入。
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.
常量 | 值 | 描述 |
---|---|---|
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.
设置值从 rhs in this X509ExtensionExtendedKeyUsage.
[虚拟]
QOpcUaX509ExtensionExtendedKeyUsage::
~QOpcUaX509ExtensionExtendedKeyUsage
()
Destructs a X509ExtensionExtendedKeyUsage.
Returns the key usage flag for keyUsage .
另请参阅 setKeyUsage ().
Sets the key usage flag in keyUsage to enable .
另请参阅 keyUsage ().
返回
true
if this X509ExtensionExtendedKeyUsage has the same value as
rhs
.