PySide6.QtOpcUa.QOpcUaX509ExtensionExtendedKeyUsage

class QOpcUaX509ExtensionExtendedKeyUsage

Class for X509 extended key usage.

Details

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.

Inheritance diagram of PySide6.QtOpcUa.QOpcUaX509ExtensionExtendedKeyUsage

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

class KeyUsage

Enum with entry types for X509ExtensionExtendedKeyUsage.

Constant

Description

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.KeyUsage.TlsWebServerAuthentication

Permits TLS webserver Authentication

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.KeyUsage.TlsWebClientAuthentication

Permits TLS client authentication

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.KeyUsage.SignExecutableCode

Permits signature of executable code

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.KeyUsage.EmailProtection

Permits signing emails

__init__()

Constructs a X509ExtensionExtendedKeyUsage.

__init__(rhs)
Parameters:

rhsQOpcUaX509ExtensionExtendedKeyUsage

Constructs a X509ExtensionExtendedKeyUsage from rhs.

keyUsage(keyUsage)
Parameters:

keyUsageKeyUsage

Return type:

bool

Returns the key usage flag for keyUsage.

See also

setKeyUsage()

__eq__(rhs)
Parameters:

rhsQOpcUaX509ExtensionExtendedKeyUsage

Return type:

bool

Returns true if this X509ExtensionExtendedKeyUsage has the same value as rhs.

setKeyUsage(keyUsage[, enable=true])
Parameters:

Sets the key usage flag in keyUsage to enable.

See also

keyUsage()