summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2019-01-06 00:25:48 +0300
committerSergey Matveev <stargrave@stargrave.org>2019-01-06 00:25:48 +0300
commitc6c4fd9103caa213806c524e9e117ccc453fd05c (patch)
treeb7c08174b9cde87bdf9843f00283c408ab1c271f
parentb0a521daece839a631f27df85429c11e97ecc942 (diff)
downloadpyderasn-c6c4fd9103caa213806c524e9e117ccc453fd05c.tar.xz
Add pprinted-picture to feature page too
-rw-r--r--doc/features.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/features.rst b/doc/features.rst
index 34fe941..e38594b 100644
--- a/doc/features.rst
+++ b/doc/features.rst
@@ -48,10 +48,6 @@ Also there is `asn1crypto <https://github.com/wbond/asn1crypto>`__.
* 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.
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,6 +73,16 @@ 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``
+
+ .. figure:: pprinting.png
+ :alt: Pretty printing example output
+
+ An example of pretty printed X.509 certificate with automatically
+ parsed DEFINED BY fields.
There are drawbacks: