X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Fexamples.rst;fp=doc%2Fexamples.rst;h=1d836f53549a33e3900766cea81a3dcd238c6381;hp=e95369c84f3f1f9155329e36fdb814fb6fd1fad9;hb=2d45a224943c79e95cbd4913b44420788bc6c17d;hpb=ce2545512540b451e07753a247a78fccfae699df diff --git a/doc/examples.rst b/doc/examples.rst index e95369c..1d836f5 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -241,7 +241,7 @@ Let's parse that output, human:: 12 13 9 10 :0: - Offset of the object, where its DER encoding begins. + Offset of the object, where its DER/BER encoding begins. Pay attention that it does **not** include explicit tag. :1: If explicit tag exists, then this is its length (tag + encoded length). @@ -288,8 +288,8 @@ Let's parse that output, human:: As command line utility ----------------------- -You can decode DER files using command line abilities and get the same -picture as above by executing:: +You can decode DER/BER files using command line abilities and get the +same picture as above by executing:: % python -m pyderasn --schema tests.test_crts:Certificate path/to/file @@ -358,7 +358,7 @@ then you can pass it to pretty printer to see human readable OIDs:: Descriptive errors ------------------ -If you have bad DER, then errors will show you where error occurred:: +If you have bad DER/BER, then errors will show you where error occurred:: % python -m pyderasn --schema tests.test_crts:Certificate path/to/bad/file Traceback (most recent call last):