Auf dieser Seite

QOpcUaX509DistinguishedName Class

Informationen zu einem Element mit einem eindeutigen Namen. Mehr...

Überschrift: #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 Elemente

QString typeToOid(QOpcUaX509DistinguishedName::Type type)

Ausführliche Beschreibung

Diese Klasse ist derzeit als Technology Preview verfügbar, daher können sich die von der Klasse bereitgestellte API und Funktionalität jederzeit ohne vorherige Ankündigung ändern.

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 zu den Mitgliedstypen

enum class QOpcUaX509DistinguishedName::Type

Enum mit Eintragstypen für X509DistinguishedName.

KonstanteWertBeschreibung
QOpcUaX509DistinguishedName::Type::CommonName0Allgemeiner Name
QOpcUaX509DistinguishedName::Type::CountryName1Ländername
QOpcUaX509DistinguishedName::Type::LocalityName2Ortsname
QOpcUaX509DistinguishedName::Type::StateOrProvinceName3Name des Bundeslandes oder der Provinz
QOpcUaX509DistinguishedName::Type::OrganizationName4Name der Organisation

Dokumentation zur Mitgliedsfunktion

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()

Erstellt einen leeren X509DistinguishedName.

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)

Erstellt einen X509DistinguishedName aus „ rhs “.

[noexcept] QOpcUaX509DistinguishedName::~QOpcUaX509DistinguishedName()

Löscht 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)

Setzt die Werte aus „ rhs “ in diesem X509DistinguishedName.

bool QOpcUaX509DistinguishedName::operator==(const QOpcUaX509DistinguishedName &rhs) const

Gibt „ true “ zurück, wenn dieser X509DistinguishedName denselben Wert wie „ rhs “ hat.

© 2026 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.