diff options
author | Ilya Etingof <ietingof@redhat.com> | 2017-01-26 14:44:52 +0100 |
---|---|---|
committer | Ilya Etingof <ietingof@redhat.com> | 2017-01-26 14:44:52 +0100 |
commit | 7319b5a10a192fedca111694145556b0254aad53 (patch) | |
tree | d5db5aba95d740fc3fc62f13de6838cb44f1d41c /README.md | |
parent | ab3388bed3367007e4db9f678fde3956169c2d3a (diff) | |
download | pyasn1-git-7319b5a10a192fedca111694145556b0254aad53.tar.gz |
notes on ASN.1 in general
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -29,7 +29,8 @@ ASN.1 solves the data serialization problem. This solution was designed long ago by the wise Ancients. Back then, they did not have the luxury of wasting bits. That is why ASN.1 is designed to serialize data structures of unbounded complexity into -something compact and robust. +something compact and efficient when it comes to processing +the data. That probably explains why many network protocols and file formats still rely upon the 30+ years old technology. Including a number of @@ -80,8 +81,11 @@ class Record(Sequence): ) ``` -Once you have your ASN.1 data structure defined, you can use it along -the lines of corresponding Python type: +It is in the spirit of ASN.1 to take abstract data description +and turn it into a programming language specific form. +Once you have your ASN.1 data structure expressed in Python, you +can use it along the lines of similar Python type (e.g. ASN.1 +`SET` is similar to Python `dict`, `SET OF` -- to `list`): ```python >>> record = Record() |