QOpcUaX509ExtensionSubjectAlternativeName Class

Class for an X509 subject alternative name. More...

Header: #include <QOpcUaX509ExtensionSubjectAlternativeName>
qmake: QT += opcua
Since: Qt 5.14
Inherits: QOpcUaX509Extension

This class was introduced in Qt 5.14.

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

ConstantValueDescription
QOpcUaX509ExtensionSubjectAlternativeName::Type::Email0Entry type for an email address
QOpcUaX509ExtensionSubjectAlternativeName::Type::URI1Entry type for an URI
QOpcUaX509ExtensionSubjectAlternativeName::Type::DNS2Entry type for DNS
QOpcUaX509ExtensionSubjectAlternativeName::Type::IP3Entry 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 QVector<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.

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