summaryrefslogtreecommitdiff
path: root/docs/source/pyasn1/type/constraint/withcomponents.rst
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-08-19 21:09:46 +0200
committerIlya Etingof <etingof@gmail.com>2019-08-27 10:07:02 +0200
commit6cc4b86dbc92d4f76c45f86c9828308ce6e77ef5 (patch)
treeceb16ce32a943bc79dc43cada938d2666b0febf4 /docs/source/pyasn1/type/constraint/withcomponents.rst
parent41ce2e5cfeef488f847c3f58ff3d9d0fceb9ded7 (diff)
downloadpyasn1-git-add-with-components-constraint.tar.gz
Add `SET ... WITH COMPONENTS ...` ASN.1 construct supportadd-with-components-constraint
Added `WithComponentsConstraint` along with related `ComponentPresentConstraint` and `ComponentAbsentConstraint` classes to be used with `Sequence`/`Set` types representing `SET ... WITH COMPONENTS ...` like ASN.1 constructs.
Diffstat (limited to 'docs/source/pyasn1/type/constraint/withcomponents.rst')
-rw-r--r--docs/source/pyasn1/type/constraint/withcomponents.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/source/pyasn1/type/constraint/withcomponents.rst b/docs/source/pyasn1/type/constraint/withcomponents.rst
new file mode 100644
index 0000000..f1556b0
--- /dev/null
+++ b/docs/source/pyasn1/type/constraint/withcomponents.rst
@@ -0,0 +1,16 @@
+
+.. _constrain.WithComponentsConstraint:
+
+.. |Constraint| replace:: WithComponentsConstraint
+
+WITH COMPONENTS constraint
+--------------------------
+
+.. autoclass:: pyasn1.type.constraint.WithComponentsConstraint(*fields)
+ :members:
+
+.. autoclass:: pyasn1.type.constraint.ComponentPresentConstraint()
+ :members:
+
+.. autoclass:: pyasn1.type.constraint.ComponentAbsentConstraint()
+ :members: