QOpcUaX509DistinguishedName Class
Información sobre un elemento de nombre distinguido. Más...
| Cabecera: | #include <QOpcUaX509DistinguishedName> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Tipos Públicos
| enum class | Type { CommonName, CountryName, LocalityName, StateOrProvinceName, OrganizationName } |
Funciones públicas
| 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 |
Miembros públicos estáticos
| QString | typeToOid(QOpcUaX509DistinguishedName::Type type) |
Descripción detallada
Esta clase está disponible actualmente como Muestra de Tecnología y, por lo tanto, la API y la funcionalidad proporcionadas por la clase pueden estar sujetas a cambios en cualquier momento sin previo aviso.
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");
Véase también QOpcUaX509CertificateSigningRequest.
Documentación de tipos de miembros
enum class QOpcUaX509DistinguishedName::Type
Enum con tipos de entrada para X509DistinguishedName.
| Constante | Valor | Descripción |
|---|---|---|
QOpcUaX509DistinguishedName::Type::CommonName | 0 | Nombre común |
QOpcUaX509DistinguishedName::Type::CountryName | 1 | Nombre del país |
QOpcUaX509DistinguishedName::Type::LocalityName | 2 | Nombre de la localidad |
QOpcUaX509DistinguishedName::Type::StateOrProvinceName | 3 | Estado o provincia |
QOpcUaX509DistinguishedName::Type::OrganizationName | 4 | Nombre de la organización |
Miembro Función Documentación
QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()
Construye un X509DistinguishedName vacío.
QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)
Construye un X509DistinguishedName a partir de rhs.
[noexcept] QOpcUaX509DistinguishedName::~QOpcUaX509DistinguishedName()
Destruye un X509DistinguishedName.
QString QOpcUaX509DistinguishedName::entry(QOpcUaX509DistinguishedName::Type type) const
Devuelve el valor de type.
Véase también setEntry().
void QOpcUaX509DistinguishedName::setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value)
Establece la entrada de type en value. Los tipos ya existentes se sobrescribirán.
Véase también entry().
[static] QString QOpcUaX509DistinguishedName::typeToOid(QOpcUaX509DistinguishedName::Type type)
Devuelve la cadena de identificación del objeto para type.
QOpcUaX509DistinguishedName &QOpcUaX509DistinguishedName::operator=(const QOpcUaX509DistinguishedName &rhs)
Establece los valores de rhs en este X509DistinguishedName.
bool QOpcUaX509DistinguishedName::operator==(const QOpcUaX509DistinguishedName &rhs) const
Devuelve true si este X509DistinguishedName tiene el mismo valor que 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.