]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
pdb's pp1 mention
authorSergey Matveev <stargrave@stargrave.org>
Wed, 29 Jul 2020 12:33:41 +0000 (15:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 29 Jul 2020 12:33:41 +0000 (15:33 +0300)
pyderasn.py

index 4b690f72b1ed1ec2c1c20e59b6f3acdd7620f262..7ca25aab5779972c785a10c46bb4da9df8933ed1 100755 (executable)
@@ -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