QOpcUaX509ExtensionBasicConstraints Class

Class for X509 basic constraints. 更多...

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

公共函数

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

详细描述

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.

成员函数文档编制

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.

另请参阅 setCa ().

int QOpcUaX509ExtensionBasicConstraints:: pathLength () const

Returns the validation path length of the certificate.

另请参阅 setPathLength ().

void QOpcUaX509ExtensionBasicConstraints:: setCa ( bool value )

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

另请参阅 ca ().

void QOpcUaX509ExtensionBasicConstraints:: setPathLength ( int length )

Sets the validation path length of the certificate to length .

另请参阅 pathLength ().

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

设置值从 rhs in this X509ExtensionBasicConstraints.

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

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