]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/examples.rst
Test code human readable OIDs
[pyderasn.git] / doc / examples.rst
index 6f16af663996897a56056fa5422b6b6b2cec4468..953001a36c9c6b98c16f1ff512595c9533da043e 100644 (file)
@@ -235,7 +235,7 @@ ___________________
 If you have got dictionaries with ObjectIdentifiers, like example one
 from ``tests/test_crts.py``::
 
-    some_oids = {
+    stroid2name = {
         "1.2.840.113549.1.1.1": "id-rsaEncryption",
         "1.2.840.113549.1.1.5": "id-sha1WithRSAEncryption",
         [...]
@@ -245,7 +245,7 @@ from ``tests/test_crts.py``::
 
 then you can pass it to pretty printer to see human readable OIDs::
 
-    $ python -m pyderasn --oids tests.test_crts:some_oids path/to/file
+    $ python -m pyderasn --oids tests.test_crts:stroid2name path/to/file
     [...]
        37   [1,1,  11]  . . . . . . >: SET OF
        39   [1,1,   9]  . . . . . . . . >: SEQUENCE OF