Class for X509 extended key usage. 更多...
头: | #include <QOpcUaX509ExtensionKeyUsage> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
继承: | QOpcUaX509Extension |
enum class | KeyUsage { DigitalSignature, NonRepudiation, KeyEncipherment, DataEncipherment, KeyAgreement, …, DecipherOnly } |
QOpcUaX509ExtensionKeyUsage () | |
QOpcUaX509ExtensionKeyUsage (const QOpcUaX509ExtensionKeyUsage & rhs ) | |
virtual | ~QOpcUaX509ExtensionKeyUsage () |
bool | keyUsage (QOpcUaX509ExtensionKeyUsage::KeyUsage keyUsage ) const |
void | setKeyUsage (QOpcUaX509ExtensionKeyUsage::KeyUsage keyUsage , bool enable = true) |
QOpcUaX509ExtensionKeyUsage & | operator= (const QOpcUaX509ExtensionKeyUsage & rhs ) |
bool | operator== (const QOpcUaX509ExtensionKeyUsage & 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 X509ExtensionKeyUsage.
常量 | 值 | 描述 |
---|---|---|
QOpcUaX509ExtensionKeyUsage::KeyUsage::DigitalSignature
|
0
|
Permits digital signatures |
QOpcUaX509ExtensionKeyUsage::KeyUsage::NonRepudiation
|
1
|
Permits non repudiation |
QOpcUaX509ExtensionKeyUsage::KeyUsage::KeyEncipherment
|
2
|
Permits key encipherment |
QOpcUaX509ExtensionKeyUsage::KeyUsage::DataEncipherment
|
3
|
Permits data encipherment |
QOpcUaX509ExtensionKeyUsage::KeyUsage::KeyAgreement
|
4
|
Permits key agreement |
QOpcUaX509ExtensionKeyUsage::KeyUsage::CertificateSigning
|
5
|
Permits certificate signing |
QOpcUaX509ExtensionKeyUsage::KeyUsage::CrlSigning
|
6
|
Permits CRL signing |
QOpcUaX509ExtensionKeyUsage::KeyUsage::EnciptherOnly
|
7
|
Restricts to encipherment only |
QOpcUaX509ExtensionKeyUsage::KeyUsage::DecipherOnly
|
8
|
Restricts to decipher only |
Constructs a X509ExtensionKeyUsage.
Constructs a X509ExtensionKeyUsage from rhs .
[virtual noexcept]
QOpcUaX509ExtensionKeyUsage::
~QOpcUaX509ExtensionKeyUsage
()
Destructs a X509ExtensionKeyUsage.
Returns the key usage flag for keyUsage .
另请参阅 setKeyUsage ().
Sets the key usage flag in keyUsage to enable .
另请参阅 keyUsage ().
设置值从 rhs in this X509ExtensionKeyUsage.
返回
true
if this X509ExtensionKeyUsage has the same value as
rhs
.