QOpcUaX509ExtensionExtendedKeyUsage Class

Class for X509 extended key usage. 更多...

头: #include <QOpcUaX509ExtensionExtendedKeyUsage>
qmake: QT += opcua
Since: Qt 5.14
继承: 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 class QOpcUaX509ExtensionExtendedKeyUsage:: KeyUsage

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

成员函数文档编制

QOpcUaX509ExtensionExtendedKeyUsage:: QOpcUaX509ExtensionExtendedKeyUsage (const QOpcUaX509ExtensionExtendedKeyUsage & rhs )

Constructs a X509ExtensionExtendedKeyUsage from rhs .

QOpcUaX509ExtensionExtendedKeyUsage:: QOpcUaX509ExtensionExtendedKeyUsage ()

Constructs a X509ExtensionExtendedKeyUsage.

QOpcUaX509ExtensionExtendedKeyUsage &QOpcUaX509ExtensionExtendedKeyUsage:: operator= (const QOpcUaX509ExtensionExtendedKeyUsage & rhs )

设置值从 rhs in this X509ExtensionExtendedKeyUsage.

[虚拟] QOpcUaX509ExtensionExtendedKeyUsage:: ~QOpcUaX509ExtensionExtendedKeyUsage ()

Destructs a X509ExtensionExtendedKeyUsage.

bool QOpcUaX509ExtensionExtendedKeyUsage:: keyUsage ( QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage ) const

Returns the key usage flag for keyUsage .

另请参阅 setKeyUsage ().

void QOpcUaX509ExtensionExtendedKeyUsage:: setKeyUsage ( QOpcUaX509ExtensionExtendedKeyUsage::KeyUsage keyUsage , bool enable = true)

Sets the key usage flag in keyUsage to enable .

另请参阅 keyUsage ().

bool QOpcUaX509ExtensionExtendedKeyUsage:: operator== (const QOpcUaX509ExtensionExtendedKeyUsage & rhs ) const

返回 true if this X509ExtensionExtendedKeyUsage has the same value as rhs .