PyDERASN – strict and fast ASN.1 DER/CER/BER library for Python

I’m going to build my own ASN.1 library with slots and blobs! (C) PyDERASN’s author

ASN.1 (Abstract Syntax Notation One) is a standard for abstract data serialization. PyDERASN is yet another library for dealing with ASN.1 structures, decoding them in BER/CER/DER formats and encoding to either DER (Distinguished Encoding Rules) or CER (Canonical Encoding Rules). Although ASN.1 is written more than 30 years ago by wise Ancients (taken from pyasn1’s README), it is still often can be seen anywhere in our life.

PyDERASN is free software, licenced under GNU LGPLv3.

There are articles about its history and usage:

Pretty printing example output

An example of pretty printed X.509 certificate with automatically parsed DEFINED BY fields.

ASN.1 browser example

An example of browser running.