class QOpcUaX509ExtensionSubjectAlternativeName

Class for an X509 subject alternative name. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaX509ExtensionSubjectAlternativeName

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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.

class Type

Enum with entry types for subject alternative name.

Constant

Description

QOpcUaX509ExtensionSubjectAlternativeName.Type.Email

Entry type for an email address

QOpcUaX509ExtensionSubjectAlternativeName.Type.URI

Entry type for an URI

QOpcUaX509ExtensionSubjectAlternativeName.Type.DNS

Entry type for DNS

QOpcUaX509ExtensionSubjectAlternativeName.Type.IP

Entry type for an IP address

__init__()

Constructs a X509ExtensionSubjectAlternativeName.

__init__(arg__1)
Parameters:

arg__1QOpcUaX509ExtensionSubjectAlternativeName

Constructs a X509ExtensionSubjectAlternativeName from rhs.

addEntry(type, value)
Parameters:
  • typeType

  • value – str

Adds an entry of type type with content value.

entries()
Return type:

.list of std.pair QOpcUaX509ExtensionSubjectAlternativeName.Type,QString

Returns the vector of entries.

__eq__(rhs)
Parameters:

rhsQOpcUaX509ExtensionSubjectAlternativeName

Return type:

bool

Returns true if this X509ExtensionSubjectAlternativeName has the same value as rhs.