PySide6.QtOpcUa.QOpcUaX509DistinguishedName¶
- class QOpcUaX509DistinguishedName¶
- Information about a distinguished name item. More… - Synopsis¶- Methods¶- def - __init__()
- def - entry()
- def - __eq__()
- def - setEntry()
 - Static functions¶- def - typeToOid()
 - 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. - QOpcUaX509DistinguishedName dn; dn.setEntry(QOpcUaX509DistinguishedName::Type::CommonName, "QtOpcUaViewer"); dn.setEntry(QOpcUaX509DistinguishedName::Type::CountryName, "DE"); dn.setEntry(QOpcUaX509DistinguishedName::Type::LocalityName, "Berlin"); dn.setEntry(QOpcUaX509DistinguishedName::Type::StateOrProvinceName, "Berlin"); dn.setEntry(QOpcUaX509DistinguishedName::Type::OrganizationName, "The Qt Company"); - See also - class Type¶
- Enum with entry types for X509DistinguishedName. - Constant - Description - QOpcUaX509DistinguishedName.Type.CommonName - Common name - QOpcUaX509DistinguishedName.Type.CountryName - Country name - QOpcUaX509DistinguishedName.Type.LocalityName - Locality name - QOpcUaX509DistinguishedName.Type.StateOrProvinceName - State or province name - QOpcUaX509DistinguishedName.Type.OrganizationName - Organization name 
 - __init__()¶
 - Constructs an empty X509DistinguishedName. - __init__(rhs)
- Parameters:
 
 - Constructs a X509DistinguishedName from - rhs.- Returns value for a - type.- See also - __eq__(rhs)¶
- Parameters:
- Return type:
- bool 
 
 - Returns - trueif this X509DistinguishedName has the same value as- rhs.- Sets the entry of - typeto- value. Already existing types will be overwritten.- See also - Returns the object id string for - type.