]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/features.rst
Older Python version support is not a limitation anymore
[pyderasn.git] / doc / features.rst
index 34fe9419d3b6f4aa30dcc9f19a52c6843d68570c..1c91feeb9456143799f2a1037b9587545ec4dd40 100644 (file)
@@ -37,7 +37,7 @@ Also there is `asn1crypto <https://github.com/wbond/asn1crypto>`__.
 * Extensive and comprehensive
   `hypothesis <https://hypothesis.readthedocs.io/en/master/>`__
   driven tests coverage. It also has been fuzzed with
-  `python-afl <http://jwilk.net/software/python-afl>`__.
+  `python-afl <http://jwilk.net/software/python-afl>`__
 * Some kind of strong typing: SEQUENCEs require the exact **type** of
   settable values, even when they are inherited (assigning ``Integer``
   to the field with the type ``CMSVersion(Integer)`` is not allowed)
@@ -47,12 +47,8 @@ Also there is `asn1crypto <https://github.com/wbond/asn1crypto>`__.
   automatically set required tags)
 * Descriptive errors, like ``pyderasn.DecodeError: UTCTime
   (tbsCertificate:validity:notAfter:utcTime) (at 328) invalid UTCTime format``
-* ``__slots__`` friendliness
-* :ref:`Pretty printer <pprinting>` and
-  :ref:`command-line decoder <cmdline>`, that could
-  conveniently replace utilities like either ``dumpasn1`` or
-  ``openssl asn1parse``
-* Could be significantly faster and have lower memory usage.
+* ``__slots__``, ``copy.copy()``, ``pickle`` friendliness
+* Could be significantly faster and have lower memory usage
   For example parsing of CACert.org's CRL (8.48 MiB) on FreeBSD 12.0
   amd64, Intel Core i5-6200U 2.3 GHz machine, Python 3.5.5/2.7.15:
 
@@ -77,8 +73,13 @@ Also there is `asn1crypto <https://github.com/wbond/asn1crypto>`__.
          converted ``pyasn1`` scheme definition)
        - 27.6 / 32.5
        - 498 / 488
+* :ref:`Pretty printer <pprinting>` and
+  :ref:`command-line decoder <cmdline>`, that could
+  conveniently replace utilities like either ``dumpasn1`` or
+  ``openssl asn1parse``
 
-There are drawbacks:
+  .. figure:: pprinting.png
+     :alt: Pretty printing example output
 
-* No old Python versions support
-* See :ref:`limitations <limitations>`
+     An example of pretty printed X.509 certificate with automatically
+     parsed DEFINED BY fields.