summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2020-07-29 15:33:41 +0300
committerSergey Matveev <stargrave@stargrave.org>2020-07-29 15:33:41 +0300
commit44741873733949a977e18c0ae475fee04fa6e643 (patch)
treed61cfd5721ecb646ece3d5a8f3a05d02b48654cd
parent1b29294806f89cf69e8abba937a26790358e25f9 (diff)
downloadpyderasn-44741873733949a977e18c0ae475fee04fa6e643.tar.xz
pdb's pp1 mention
-rwxr-xr-xpyderasn.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyderasn.py b/pyderasn.py
index 4b690f7..7ca25aa 100755
--- a/pyderasn.py
+++ b/pyderasn.py
@@ -355,6 +355,11 @@ Let's parse that output, human::
(and its derivatives), ``SET``, ``SET OF``, ``UTCTime``, ``GeneralizedTime``
could be BERed.
+Also it could be helpful to add quick ASN.1 pprinting command in your
+pdb's configuration file::
+
+ alias pp1 import pyderasn ;; print(pyderasn.pprint(%1, oid_maps=(locals().get("OID_STR_TO_NAME", {}),)))
+
.. _definedby:
DEFINED BY