summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIlya Etingof <ietingof@redhat.com>2017-01-26 14:44:52 +0100
committerIlya Etingof <ietingof@redhat.com>2017-01-26 14:44:52 +0100
commit7319b5a10a192fedca111694145556b0254aad53 (patch)
treed5db5aba95d740fc3fc62f13de6838cb44f1d41c /README.md
parentab3388bed3367007e4db9f678fde3956169c2d3a (diff)
downloadpyasn1-git-7319b5a10a192fedca111694145556b0254aad53.tar.gz
notes on ASN.1 in general
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 72ba8f9..024b5a9 100644
--- a/README.md
+++ b/README.md
@@ -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()