1 | // Copyright (C) 2019 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QOPCUAX509EXTENSIONBASICCONSTRAINTS_H |
5 | #define QOPCUAX509EXTENSIONBASICCONSTRAINTS_H |
6 | |
7 | #include "QtOpcUa/qopcuax509extension.h" |
8 | #include <QtOpcUa/qopcuaglobal.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class QOpcUaX509ExtensionBasicConstraintsData; |
13 | |
14 | class Q_OPCUA_EXPORT QOpcUaX509ExtensionBasicConstraints : public QOpcUaX509Extension |
15 | { |
16 | public: |
17 | QOpcUaX509ExtensionBasicConstraints(); |
18 | QOpcUaX509ExtensionBasicConstraints(const QOpcUaX509ExtensionBasicConstraints &); |
19 | QOpcUaX509ExtensionBasicConstraints &operator=(const QOpcUaX509ExtensionBasicConstraints &); |
20 | bool operator==(const QOpcUaX509ExtensionBasicConstraints &rhs) const; |
21 | ~QOpcUaX509ExtensionBasicConstraints(); |
22 | |
23 | void setCa(bool value); |
24 | bool ca() const; |
25 | |
26 | void setPathLength(int length); |
27 | int pathLength() const; |
28 | }; |
29 | |
30 | QT_END_NAMESPACE |
31 | |
32 | #endif // QOPCUAX509EXTENSIONBASICCONSTRAINTS_H |
33 |