X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Ffeatures.rst;h=d2d1734eb779b6545132b698bf65344d281f66d9;hp=e6afdd3a96687d2d36a207474fd5d74a43be60e6;hb=7aed684a10179b2e57e81369e956ac6df4fb135e;hpb=0de0e676324ae1457fdb67f4dd3bd82020061522 diff --git a/doc/features.rst b/doc/features.rst index e6afdd3..d2d1734 100644 --- a/doc/features.rst +++ b/doc/features.rst @@ -4,7 +4,7 @@ Features * Basic ASN.1 data types (X.208): BOOLEAN, INTEGER, BIT STRING, OCTET STRING, NULL, OBJECT IDENTIFIER, ENUMERATED, all strings, UTCTime, GeneralizedTime, CHOICE, ANY, SEQUENCE (OF), SET (OF) -* Size constraints checking +* Size :ref:`constraints ` checking * Working with sequences as high level data objects with ability to (un)marshall them * Python 2.7/3.5 compatibility @@ -15,14 +15,17 @@ practice it should be relatively easy to convert ``pyasn1``'s code to ``pyderasn``'s one. But additionally it offers: * Small, simple and trying to be reviewable code. Just a single file -* ``__slots__`` friendliness -* Ability to know exact decoded objects offsets and lengths in the binary -* Pretty printer and command-line decoder, that could conveniently - replace utilities like either ``dumpasn1`` or ``openssl asn1parse`` +* Automatic decoding of :ref:`DEFINED BY ` fields +* Ability to know :ref:`exact decoded ` objects offsets and + lengths inside the binary +* :ref:`Pretty printer ` and command-line decoder, that could + conveniently replace utilities like either ``dumpasn1`` or + ``openssl asn1parse`` * Some kind of strong typing: SEQUENCEs require the exact **type** of settable values, even when they are inherited * However they do not require tags matching: IMPLICIT/EXPLICIT tags will be set automatically in the given sequence +* ``__slots__`` friendliness * Could be significantly faster. For example parsing of CACert.org's CRL under Python 3.5.2: