X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Ffeatures.rst;h=76d6830d3913f6872ae1a2f25608f5a9d1916515;hb=7af6ff46e2927030706fc4c0df0ddeadfa55dd79;hp=e38594bdbdea71356895666b61601c8f2c744cfb;hpb=c6c4fd9103caa213806c524e9e117ccc453fd05c;p=pyderasn.git diff --git a/doc/features.rst b/doc/features.rst index e38594b..76d6830 100644 --- a/doc/features.rst +++ b/doc/features.rst @@ -37,7 +37,7 @@ Also there is `asn1crypto `__. * Extensive and comprehensive `hypothesis `__ driven tests coverage. It also has been fuzzed with - `python-afl `__. + `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,8 +47,9 @@ Also there is `asn1crypto `__. automatically set required tags) * Descriptive errors, like ``pyderasn.DecodeError: UTCTime (tbsCertificate:validity:notAfter:utcTime) (at 328) invalid UTCTime format`` -* ``__slots__`` friendliness -* Could be significantly faster and have lower memory usage. +* ``__slots__``, ``copy.copy()``, ``pickle``, `Cython `__ + 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: @@ -83,8 +84,3 @@ Also there is `asn1crypto `__. An example of pretty printed X.509 certificate with automatically parsed DEFINED BY fields. - -There are drawbacks: - -* No old Python versions support -* See :ref:`limitations `