class QOpcUaX509ExtensionKeyUsage

Class for X509 extended key usage. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaX509ExtensionKeyUsage

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 X509ExtensionKeyUsage.

Constant

Description

QOpcUaX509ExtensionKeyUsage.KeyUsage.DigitalSignature

Permits digital signatures

QOpcUaX509ExtensionKeyUsage.KeyUsage.NonRepudiation

Permits non repudiation

QOpcUaX509ExtensionKeyUsage.KeyUsage.KeyEncipherment

Permits key encipherment

QOpcUaX509ExtensionKeyUsage.KeyUsage.DataEncipherment

Permits data encipherment

QOpcUaX509ExtensionKeyUsage.KeyUsage.KeyAgreement

Permits key agreement

QOpcUaX509ExtensionKeyUsage.KeyUsage.CertificateSigning

Permits certificate signing

QOpcUaX509ExtensionKeyUsage.KeyUsage.CrlSigning

Permits CRL signing

QOpcUaX509ExtensionKeyUsage.KeyUsage.EnciptherOnly

Restricts to encipherment only

QOpcUaX509ExtensionKeyUsage.KeyUsage.DecipherOnly

Restricts to decipher only

__init__()

Constructs a X509ExtensionKeyUsage.

__init__(arg__1)
Parameters:

arg__1QOpcUaX509ExtensionKeyUsage

Constructs a X509ExtensionKeyUsage from rhs.

keyUsage(arg__1)
Parameters:

arg__1KeyUsage

Return type:

bool

Returns the key usage flag for keyUsage.

See also

setKeyUsage()

__eq__(rhs)
Parameters:

rhsQOpcUaX509ExtensionKeyUsage

Return type:

bool

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

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

Sets the key usage flag in keyUsage to enable.

See also

keyUsage()