In questa pagina

QOpcUaX509DistinguishedName Class

Informazioni su un elemento con nome distinto. Altro...

Intestazione: #include <QOpcUaX509DistinguishedName>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Tipi pubblici

enum class Type { CommonName, CountryName, LocalityName, StateOrProvinceName, OrganizationName }

Funzioni pubbliche

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

Membri pubblici statici

QString typeToOid(QOpcUaX509DistinguishedName::Type type)

Descrizione dettagliata

Questa classe è attualmente disponibile come anteprima tecnologica (Technology Preview) e, pertanto, l'API e le funzionalità fornite dalla classe potrebbero essere soggette a modifiche in qualsiasi momento senza preavviso.

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");

Vedi anche QOpcUaX509CertificateSigningRequest.

Documentazione sui tipi dei membri

enum class QOpcUaX509DistinguishedName::Type

Enumerazione con tipi di voce per X509DistinguishedName.

CostanteValoreDescrizione
QOpcUaX509DistinguishedName::Type::CommonName0Nome comune
QOpcUaX509DistinguishedName::Type::CountryName1Nome del paese
QOpcUaX509DistinguishedName::Type::LocalityName2Nome della località
QOpcUaX509DistinguishedName::Type::StateOrProvinceName3Nome dello Stato o della provincia
QOpcUaX509DistinguishedName::Type::OrganizationName4Nome dell'organizzazione

Documentazione sulle funzioni dei membri

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()

Crea un oggetto X509DistinguishedName vuoto.

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)

Crea un oggetto X509DistinguishedName a partire da rhs.

[noexcept] QOpcUaX509DistinguishedName::~QOpcUaX509DistinguishedName()

Elimina un X509DistinguishedName.

QString QOpcUaX509DistinguishedName::entry(QOpcUaX509DistinguishedName::Type type) const

Restituisce il valore di un oggetto ` type`.

Vedi anche setEntry().

void QOpcUaX509DistinguishedName::setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value)

Imposta il valore della voce “ type ” su “ value ”. I tipi già esistenti verranno sovrascritti.

Vedi anche entry().

[static] QString QOpcUaX509DistinguishedName::typeToOid(QOpcUaX509DistinguishedName::Type type)

Restituisce la stringa identificativa dell'oggetto per type.

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

Imposta i valori provenienti da rhs in questo X509DistinguishedName.

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

Restituisce " true " se questo X509DistinguishedName ha lo stesso valore di " rhs".

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