QOpcUaX509ExtensionBasicConstraints Class

Class for X509 basic constraints. More...

Header: #include <QOpcUaX509ExtensionBasicConstraints>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua
Inherits: QOpcUaX509Extension

Public Functions

QOpcUaX509ExtensionBasicConstraints()
QOpcUaX509ExtensionBasicConstraints(const QOpcUaX509ExtensionBasicConstraints &rhs)
virtual ~QOpcUaX509ExtensionBasicConstraints()
bool ca() const
int pathLength() const
void setCa(bool value)
void setPathLength(int length)
QOpcUaX509ExtensionBasicConstraints &operator=(const QOpcUaX509ExtensionBasicConstraints &rhs)
bool operator==(const QOpcUaX509ExtensionBasicConstraints &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 Function Documentation

QOpcUaX509ExtensionBasicConstraints::QOpcUaX509ExtensionBasicConstraints()

Constructs a default X509ExtensionBasicConstraints.

QOpcUaX509ExtensionBasicConstraints::QOpcUaX509ExtensionBasicConstraints(const QOpcUaX509ExtensionBasicConstraints &rhs)

Constructs a X509ExtensionBasicConstraints from rhs.

[virtual noexcept] QOpcUaX509ExtensionBasicConstraints::~QOpcUaX509ExtensionBasicConstraints()

Destructs a X509ExtensionBasicConstraints.

bool QOpcUaX509ExtensionBasicConstraints::ca() const

Returns the flag, if the certificate's subject is a CA.

See also setCa().

int QOpcUaX509ExtensionBasicConstraints::pathLength() const

Returns the validation path length of the certificate.

See also setPathLength().

void QOpcUaX509ExtensionBasicConstraints::setCa(bool value)

Sets the flag, if the certificate's subject is a CA to value.

See also ca().

void QOpcUaX509ExtensionBasicConstraints::setPathLength(int length)

Sets the validation path length of the certificate to length.

See also pathLength().

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

Sets the values from rhs in this X509ExtensionBasicConstraints.

bool QOpcUaX509ExtensionBasicConstraints::operator==(const QOpcUaX509ExtensionBasicConstraints &rhs) const

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