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.
Constructs a default X509ExtensionBasicConstraints.
Constructs a X509ExtensionBasicConstraints from rhs .
[virtual noexcept]
QOpcUaX509ExtensionBasicConstraints::
~QOpcUaX509ExtensionBasicConstraints
()
Destructs a X509ExtensionBasicConstraints.
Returns the flag, if the certificate's subject is a CA.
另请参阅 setCa ().
Returns the validation path length of the certificate.
另请参阅 setPathLength ().
Sets the flag, if the certificate's subject is a CA to value .
另请参阅 ca ().
Sets the validation path length of the certificate to length .
另请参阅 pathLength ().
设置值从 rhs in this X509ExtensionBasicConstraints.
返回
true
if this X509ExtensionBasicConstraints has the same value as
rhs
.