PySide6.QtOpcUa.QOpcUaX509ExtensionKeyUsage¶
- class QOpcUaX509ExtensionKeyUsage¶
Class for X509 extended key usage. More…
Synopsis¶
Methods¶
def
__init__()
def
keyUsage()
def
__eq__()
def
setKeyUsage()
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__(rhs)
- Parameters:
Constructs a X509ExtensionKeyUsage from
rhs
.Returns the key usage flag for
keyUsage
.See also
- __eq__(rhs)¶
- Parameters:
- Return type:
bool
Returns
true
if this X509ExtensionKeyUsage has the same value asrhs
.Sets the key usage flag in
keyUsage
toenable
.See also