asn1c
« Back to VersTracker
Description:
Compile ASN.1 specifications into C source code
Type: Formula  |  Latest Version: 0.9.28@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: asn1 compiler c protocol telecom
Install: brew install asn1c
About:
asn1c is an open-source compiler that translates Abstract Syntax Notation One (ASN.1) specifications into readable C source code. It supports multiple ASN.1 encoding rules, including BER, DER, and PER, facilitating the development of interoperable network protocols. This tool is essential for developers implementing standards defined by telecommunications and aviation authorities.
Key Features:
  • Generates C structures and encoding/decoding functions
  • Supports BER, DER, and PER encoding rules
  • Produces human-readable and debuggable code
  • Compliant with X.680-X.693 standards
Use Cases:
  • Implementing 3GPP mobile network protocols (e.g., LTE, 5G)
  • Developing aviation communication systems (e.g., ADS-B)
  • Creating secure cryptographic modules requiring ASN.1 parsing
Alternatives:
  • pyasn1 – Python-based library for ASN.1 processing; slower than C but easier for rapid prototyping.
  • asn1tools – Python-based compiler supporting multiple formats; useful for testing and validation.
License: BSD-2-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 9:04am 0 VERSION_BUMP cb4110c4