From: Sergey Matveev Date: Thu, 6 Feb 2020 11:31:00 +0000 (+0300) Subject: Explicitly mention about impl/expl class attributes X-Git-Tag: 6.0~7 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=8b8c7004e1915ec64240e9860d8169b15155268b Explicitly mention about impl/expl class attributes --- diff --git a/pyderasn.py b/pyderasn.py index 6e32db5..92c1824 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -65,10 +65,11 @@ ____ Most types in ASN.1 has specific tag for them. ``Obj.tag_default`` is the default tag used during coding process. You can override it with -either ``IMPLICIT`` (using ``impl`` keyword argument), or -``EXPLICIT`` one (using ``expl`` keyword argument). Both arguments take -raw binary string, containing that tag. You can **not** set implicit and -explicit tags simultaneously. +either ``IMPLICIT`` (using either ``impl`` keyword argument or ``impl`` +class attribute), or ``EXPLICIT`` one (using either ``expl`` keyword +argument or ``expl`` class attribute). Both arguments take raw binary +string, containing that tag. You can **not** set implicit and explicit +tags simultaneously. There are :py:func:`pyderasn.tag_ctxp` and :py:func:`pyderasn.tag_ctxc` functions, allowing you to easily create ``CONTEXT``