X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Ffeatures.rst;h=d23729f12096bede25e86d07bb520b570257397b;hb=2d45a224943c79e95cbd4913b44420788bc6c17d;hp=d2d1734eb779b6545132b698bf65344d281f66d9;hpb=7aed684a10179b2e57e81369e956ac6df4fb135e;p=pyderasn.git diff --git a/doc/features.rst b/doc/features.rst index d2d1734..d23729f 100644 --- a/doc/features.rst +++ b/doc/features.rst @@ -1,6 +1,7 @@ Features ======== +* BER/CER/DER decoding, DER encoding * 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) @@ -30,16 +31,15 @@ practice it should be relatively easy to convert ``pyasn1``'s code to under Python 3.5.2: :``python -m pyderasn revoke.crl``: - ~2 min + ~2 min (``pyderasn == 1.0``) :``python -m pyderasn --schema path.to.CertificateList revoke.crl``: - ~38 sec + ~38 sec (``pyderasn == 1.0``) :``pyasn1.decode(asn1Spec=pyasn1.CertificateList())``: ~22 min (``pyasn1 == 0.2.3``) There are drawbacks: * No old Python versions support -* No BER/CER support * PyDERASN does **not** have object recreation capable ``repr``-s:: pyderasn>>> repr(algo_id)