Difference between revisions of "My ASN.1 Notes"

From Got Opinion Wiki
Jump to navigation Jump to search
m (added asn.1 section)
Line 7: Line 7:


=== Python ASN.1 Resources ===
=== Python ASN.1 Resources ===
[https://github.com/P1sec/pycrate Pycrate] is a french word for qualifying bad wine. The present software library has nothing to do with bad wine, it is simply a Python library for manipulating various digital formats in an easy way. It is the glorious successor of libmich, which was started 8 years ago and served well.
It provides basically a runtime for encoding and decoding data structures, including CSN.1 and ASN.1. Additionally, it features a 3G and LTE mobile core network.


[https://github.com/etingof/pyasn1 pyasn1] is a free and open source implementation of ASN.1 types and codecs as a Python package. It has been first written to support particular protocol (SNMP) but then generalized to be suitable for a wide range of protocols based on ASN.1 specification.
[https://github.com/etingof/pyasn1 pyasn1] is a free and open source implementation of ASN.1 types and codecs as a Python package. It has been first written to support particular protocol (SNMP) but then generalized to be suitable for a wide range of protocols based on ASN.1 specification.

Revision as of 14:20, 28 March 2019

Resources

OSS Nokalva

Objective Sytems

Power ASN

Python ASN.1 Resources

Pycrate is a french word for qualifying bad wine. The present software library has nothing to do with bad wine, it is simply a Python library for manipulating various digital formats in an easy way. It is the glorious successor of libmich, which was started 8 years ago and served well.

It provides basically a runtime for encoding and decoding data structures, including CSN.1 and ASN.1. Additionally, it features a 3G and LTE mobile core network.

pyasn1 is a free and open source implementation of ASN.1 types and codecs as a Python package. It has been first written to support particular protocol (SNMP) but then generalized to be suitable for a wide range of protocols based on ASN.1 specification.

asn1ate is a Python library for translating ASN.1 into other forms. It is intended for code generation from formal ASN.1 definitions, and a code generator for pyasn1 is included.

Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.6+ and 3.3+.

asn1tinydecoder.py is a simple and fast ASN.1 decoder without external libraries designed to parse large files.

Nice examples

Example explaining CHOICE tagging

Example to understand IMPLICIT tagging

TBCD

Telephony Binary-Coded Decimal strings are not part of the ASN.1 standard, but their use is prevalent in many telephony-related ASN.1 specifications.

Conversion of these types into standard numeric text strings is supported by Objective Systems software.

In general, BCD strings pack two numeric digits into a single byte value by using a four-bit nibble to hold each digit. By convention, the digits are reversed in TBCD strings, but there are no official standards for this encoding.

My Notes

Back to Computing