QOpcUaX509ExtensionSubjectAlternativeName Class
Class for an X509 subject alternative name. More...
Header: | #include <QOpcUaX509ExtensionSubjectAlternativeName> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Since: | Qt 5.14 |
Inherits: | QOpcUaX509Extension |
Public Types
enum class | Type { Email, URI, DNS, IP } |
Public Functions
QOpcUaX509ExtensionSubjectAlternativeName(const QOpcUaX509ExtensionSubjectAlternativeName &rhs) | |
QOpcUaX509ExtensionSubjectAlternativeName() | |
QOpcUaX509ExtensionSubjectAlternativeName & | operator=(const QOpcUaX509ExtensionSubjectAlternativeName &rhs) |
virtual | ~QOpcUaX509ExtensionSubjectAlternativeName() |
void | addEntry(QOpcUaX509ExtensionSubjectAlternativeName::Type type, const QString &value) |
const QList<QPair<QOpcUaX509ExtensionSubjectAlternativeName::Type, QString>> & | entries() const |
bool | operator==(const QOpcUaX509ExtensionSubjectAlternativeName &rhs) const |
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.
Member Type Documentation
enum class QOpcUaX509ExtensionSubjectAlternativeName::Type
Enum with entry types for subject alternative name.
Constant | Value | Description |
---|---|---|
QOpcUaX509ExtensionSubjectAlternativeName::Type::Email | 0 | Entry type for an email address |
QOpcUaX509ExtensionSubjectAlternativeName::Type::URI | 1 | Entry type for an URI |
QOpcUaX509ExtensionSubjectAlternativeName::Type::DNS | 2 | Entry type for DNS |
QOpcUaX509ExtensionSubjectAlternativeName::Type::IP | 3 | Entry type for an IP address |
Member Function Documentation
QOpcUaX509ExtensionSubjectAlternativeName::QOpcUaX509ExtensionSubjectAlternativeName(const QOpcUaX509ExtensionSubjectAlternativeName &rhs)
Constructs a X509ExtensionSubjectAlternativeName from rhs.
QOpcUaX509ExtensionSubjectAlternativeName::QOpcUaX509ExtensionSubjectAlternativeName()
Constructs a X509ExtensionSubjectAlternativeName.
QOpcUaX509ExtensionSubjectAlternativeName &QOpcUaX509ExtensionSubjectAlternativeName::operator=(const QOpcUaX509ExtensionSubjectAlternativeName &rhs)
Sets the values from rhs in this X509ExtensionSubjectAlternativeName.
[virtual]
QOpcUaX509ExtensionSubjectAlternativeName::~QOpcUaX509ExtensionSubjectAlternativeName()
Destructs a X509ExtensionSubjectAlternativeName.
void QOpcUaX509ExtensionSubjectAlternativeName::addEntry(QOpcUaX509ExtensionSubjectAlternativeName::Type type, const QString &value)
Adds an entry of type type with content value.
const QList<QPair<QOpcUaX509ExtensionSubjectAlternativeName::Type, QString>> &QOpcUaX509ExtensionSubjectAlternativeName::entries() const
Returns the vector of entries.
bool QOpcUaX509ExtensionSubjectAlternativeName::operator==(const QOpcUaX509ExtensionSubjectAlternativeName &rhs) const
Returns true
if this X509ExtensionSubjectAlternativeName has the same value as rhs.