QOpcUaX509DistinguishedName Class
Informationen über einen bestimmten Namen. Mehr...
Kopfzeile: | #include <QOpcUaX509DistinguishedName> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Öffentliche Typen
enum class | Type { CommonName, CountryName, LocalityName, StateOrProvinceName, OrganizationName } |
Öffentliche Funktionen
QOpcUaX509DistinguishedName() | |
QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs) | |
~QOpcUaX509DistinguishedName() | |
QString | entry(QOpcUaX509DistinguishedName::Type type) const |
void | setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value) |
QOpcUaX509DistinguishedName & | operator=(const QOpcUaX509DistinguishedName &rhs) |
bool | operator==(const QOpcUaX509DistinguishedName &rhs) const |
Statische öffentliche Mitglieder
QString | typeToOid(QOpcUaX509DistinguishedName::Type type) |
Detaillierte Beschreibung
Diese Klasse ist derzeit als Technologievorschau verfügbar. Daher können die API und die von der Klasse bereitgestellten Funktionen jederzeit ohne vorherige Ankündigung geändert werden.
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");
Siehe auch QOpcUaX509CertificateSigningRequest.
Dokumentation der Mitgliedstypen
enum class QOpcUaX509DistinguishedName::Type
Enum mit Eintragstypen für X509DistinguishedName.
Konstante | Wert | Beschreibung |
---|---|---|
QOpcUaX509DistinguishedName::Type::CommonName | 0 | Allgemeiner Name |
QOpcUaX509DistinguishedName::Type::CountryName | 1 | Name des Landes |
QOpcUaX509DistinguishedName::Type::LocalityName | 2 | Name des Ortes |
QOpcUaX509DistinguishedName::Type::StateOrProvinceName | 3 | Name des Staates oder der Provinz |
QOpcUaX509DistinguishedName::Type::OrganizationName | 4 | Name der Organisation |
Mitglied Funktion Dokumentation
QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()
Konstruiert einen leeren X509DistinguishedName.
QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)
Konstruiert einen X509DistinguishedName aus rhs.
[noexcept]
QOpcUaX509DistinguishedName::~QOpcUaX509DistinguishedName()
Zerstört einen X509DistinguishedName.
QString QOpcUaX509DistinguishedName::entry(QOpcUaX509DistinguishedName::Type type) const
Gibt den Wert für eine type zurück.
Siehe auch setEntry().
void QOpcUaX509DistinguishedName::setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value)
Setzt den Eintrag von type auf value. Bereits vorhandene Typen werden überschrieben.
Siehe auch entry().
[static]
QString QOpcUaX509DistinguishedName::typeToOid(QOpcUaX509DistinguishedName::Type type)
Gibt die Objekt-ID-Zeichenkette für type zurück.
QOpcUaX509DistinguishedName &QOpcUaX509DistinguishedName::operator=(const QOpcUaX509DistinguishedName &rhs)
Legt die Werte von rhs in diesem X509DistinguishedName fest.
bool QOpcUaX509DistinguishedName::operator==(const QOpcUaX509DistinguishedName &rhs) const
Gibt true
zurück, wenn dieser X509DistinguishedName denselben Wert wie rhs hat.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.