class QOpcUaX509ExtensionBasicConstraints

Class for X509 basic constraints. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaX509ExtensionBasicConstraints

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.

__init__()

Constructs a default X509ExtensionBasicConstraints.

__init__(arg__1)
Parameters:

arg__1QOpcUaX509ExtensionBasicConstraints

Constructs a X509ExtensionBasicConstraints from rhs.

ca()
Return type:

bool

Returns the flag, if the certificate’s subject is a CA.

See also

setCa()

__eq__(rhs)
Parameters:

rhsQOpcUaX509ExtensionBasicConstraints

Return type:

bool

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

pathLength()
Return type:

int

Returns the validation path length of the certificate.

See also

setPathLength()

setCa(value)
Parameters:

value – bool

Sets the flag, if the certificate’s subject is a CA to value.

See also

ca()

setPathLength(length)
Parameters:

length – int

Sets the validation path length of the certificate to length.

See also

pathLength()