QOpcUaX509ExtensionSubjectAlternativeName Class

Class for an X509 subject alternative name. 更多...

头: #include <QOpcUaX509ExtensionSubjectAlternativeName>
qmake: QT += opcua
Since: Qt 5.14
继承: QOpcUaX509Extension

公共类型

enum class Type { Email, URI, DNS, IP }

公共函数

  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

详细描述

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.

成员类型文档编制

enum class QOpcUaX509ExtensionSubjectAlternativeName:: Type

Enum with entry types for subject alternative name.

常量 描述
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

成员函数文档编制

QOpcUaX509ExtensionSubjectAlternativeName:: QOpcUaX509ExtensionSubjectAlternativeName (const QOpcUaX509ExtensionSubjectAlternativeName & rhs )

Constructs a X509ExtensionSubjectAlternativeName from rhs .

QOpcUaX509ExtensionSubjectAlternativeName:: QOpcUaX509ExtensionSubjectAlternativeName ()

Constructs a X509ExtensionSubjectAlternativeName.

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

设置值从 rhs in this X509ExtensionSubjectAlternativeName.

[虚拟] 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

返回 true if this X509ExtensionSubjectAlternativeName has the same value as rhs .