From 525b88f45577a5a63621e6621770752df8101c54 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 16 Dec 2019 11:44:29 +0300 Subject: [PATCH] Link to defines kwarg --- pyderasn.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyderasn.py b/pyderasn.py index 6435758..c2d8f44 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -13,8 +13,7 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program. If not, see -# . +# License along with this program. If not, see . """Python ASN.1 DER/BER codec with abstract structures This library allows you to marshal various structures in ASN.1 DER @@ -347,6 +346,8 @@ DEFINED BY some previously met ObjectIdentifier. This library provides ability to specify mapping between some OID and field that must be decoded with specific specification. +.. _defines: + defines kwarg _____________ @@ -420,8 +421,8 @@ value must be sequence of following tuples:: where ``decode_path`` is a tuple holding so-called decode path to the exact :py:class:`pyderasn.ObjectIdentifier` field you want to apply -``defines``, holding exactly the same value as accepted in its keyword -argument. +``defines``, holding exactly the same value as accepted in its +:ref:`keyword argument `. For example, again for CMS, you want to automatically decode ``SignedData`` and CMC's (:rfc:`5272`) ``PKIData`` and ``PKIResponse`` -- 2.44.0