class QOpcUaX509ExtensionExtendedKeyUsage

Class for X509 extended key usage. More

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

Detailed Description

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.

class KeyUsage

Enum with entry types for X509ExtensionExtendedKeyUsage.

Constant

Description

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.TlsWebServerAuthentication

Permits TLS webserver Authentication

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.TlsWebClientAuthentication

Permits TLS client authentication

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.SignExecutableCode

Permits signature of executable code

QOpcUaX509ExtensionExtendedKeyUsage.KeyUsage.EmailProtection

Permits signing emails

__init__()

Constructs a X509ExtensionExtendedKeyUsage.

__init__(arg__1)
Parameters:

arg__1QOpcUaX509ExtensionExtendedKeyUsage

Constructs a X509ExtensionExtendedKeyUsage from rhs.

keyUsage(arg__1)
Parameters:

arg__1KeyUsage

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()