PySide6.QtOpcUa.QOpcUaX509ExtensionBasicConstraints¶
- class QOpcUaX509ExtensionBasicConstraints¶
- Class for X509 basic constraints. More… - Synopsis¶- Methods¶- def - __init__()
- def - ca()
- def - __eq__()
- def - pathLength()
- def - setCa()
- def - setPathLength()
 - 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__(rhs)
- Parameters:
 
 - Constructs a X509ExtensionBasicConstraints from - rhs.- ca()¶
- Return type:
- bool 
 
 - Returns the flag, if the certificate’s subject is a CA. - See also - __eq__(rhs)¶
- Parameters:
- Return type:
- bool 
 
 - Returns - trueif this X509ExtensionBasicConstraints has the same value as- rhs.- pathLength()¶
- Return type:
- int 
 
 - Returns the validation path length of the certificate. - See also - setCa(value)¶
- Parameters:
- value – bool 
 
 - Sets the flag, if the certificate’s subject is a CA to - value.- See also - setPathLength(length)¶
- Parameters:
- length – int 
 
 - Sets the validation path length of the certificate to - length.- See also