Class for an X509 subject alternative name. 更多...
头: | #include <QOpcUaX509ExtensionSubjectAlternativeName> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
继承: | QOpcUaX509Extension |
enum class | Type { Email, URI, DNS, IP } |
QOpcUaX509ExtensionSubjectAlternativeName () | |
QOpcUaX509ExtensionSubjectAlternativeName (const QOpcUaX509ExtensionSubjectAlternativeName & rhs ) | |
virtual | ~QOpcUaX509ExtensionSubjectAlternativeName () |
void | addEntry (QOpcUaX509ExtensionSubjectAlternativeName::Type type , const QString & value ) |
const QList<QPair<QOpcUaX509ExtensionSubjectAlternativeName::Type, QString>> & | entries () const |
QOpcUaX509ExtensionSubjectAlternativeName & | operator= (const QOpcUaX509ExtensionSubjectAlternativeName & rhs ) |
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 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 |
Constructs a X509ExtensionSubjectAlternativeName.
Constructs a X509ExtensionSubjectAlternativeName from rhs .
[virtual noexcept]
QOpcUaX509ExtensionSubjectAlternativeName::
~QOpcUaX509ExtensionSubjectAlternativeName
()
Destructs a X509ExtensionSubjectAlternativeName.
Adds an entry of type type with content value .
Returns the vector of entries.
设置值从 rhs in this X509ExtensionSubjectAlternativeName.
返回
true
if this X509ExtensionSubjectAlternativeName has the same value as
rhs
.