]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Explicitly note tag_ctxX usage
authorSergey Matveev <stargrave@stargrave.org>
Wed, 12 Feb 2020 07:57:59 +0000 (10:57 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 12 Feb 2020 14:13:46 +0000 (17:13 +0300)
pyderasn.py

index 21b4306319db9630c936577b5a7d8595afa717d3..5292c5cf70fb5d195a39efde500a8b9a6f7cc443 100755 (executable)
@@ -75,9 +75,17 @@ tags simultaneously.
 There are :py:func:`pyderasn.tag_ctxp` and :py:func:`pyderasn.tag_ctxc`
 functions, allowing you to easily create ``CONTEXT``
 ``PRIMITIVE``/``CONSTRUCTED`` tags, by specifying only the required tag
-number. Pay attention that explicit tags always have *constructed* tag
-(``tag_ctxc``), but implicit tags for primitive types are primitive
-(``tag_ctxp``).
+number.
+
+.. note::
+
+   EXPLICIT tags always have **constructed** tag. PyDERASN does not
+   explicitly check correctness of schema input here.
+
+.. note::
+
+   Implicit tags have **primitive** (``tag_ctxp``) encoding for
+   primitive values.
 
 ::