ASN.1 Tools for C++

ASN.1 C++

The OSS® ASN.1 Tools for C++ is a complete development toolkit for building true C++ applications using ASN.1. The ASN.1 Tools for C++ provides the application programmer with a series of C++ classes that allow common programming operations according to the well-known principles of object-oriented programming. The toolkit includes the following:

  • A powerful ASN.1 to C++ compiler, which supports the latest version of the ASN.1 standards
  • A runtime library with ASN.1 BER, CER, DER, PER/UPER, CPER/CUPER, OER, COER, XER, CXER, E-XER, JSON, and AVN encoder/decoder engines
  • A number of utilities to simplify and speed up your development

The ASN.1 compiler for C++ takes ASN.1 schemas as input and generates C++ classes as well as control tables for encoding/decoding. In addition to core functionalities, the ASN.1 compiler offers diagnostic capabilities that minimize your development time and effort.

High Performance

The runtime libraries include ASN.1 encoding and decoding functions and valuable auxiliary functions to operate on application messages. The runtime libraries have been ported to 500+ platforms, including many embedded platforms.

Support for
Partial Decoding

Our ASN.1 products support LTE Advanced Pro including NB-IoT, C-V2X and LTE-M. OSS products support the 3GPP 5G specifications.

The ASN.1 compiler for C++ and the SOED, TOED, and LED runtime libraries support the JSON Encoding Rules. You can serialize ASN.1 data to the popular JSON format and convert between JSON messages and ASN.1 binary messages.

Support for

The ASN.1 compiler for C++ and the SOED, TOED, and LED runtime libraries also support the OER Encoding Rules. You can work with ASN.1 binary messages that can be encoded/decoded significantly faster than BER and PER messages, while being only slightly less compact than PER messages.

Support for E-XER allows you to generate XML compatible with output from XML Schema tools.

  • Unparalleled speed of ASN.1 encoders/decoders
  • Backward compatibility guaranteed
  • ASN.1 Studio, an intuitive IDE for ASN.1 schema editing and message analysis
  • Support for partial decoding
  • Support for large (4096 bit) INTEGERs (for cryptographic applications)
  • Unlimited value size
  • Type representations which reflect the semantics of ASN.1 (4 byte UniversalStrings, Time classes)
  • Encoding of extensible types (unknown extensions)
  • Rich set of C++ representation classes for ASN.1 types
  • Automatic decoding for any kind of constraint
  • No implementation restrictions; never rewrite your ASN.1 to accommodate encoding limitations
  • Defer decoding of any individual field or type
  • File and socket support
  • Concatenated PDU support
  • Contents constraints (full support)
  • Generate XML stylesheet or DTD for each PDU
Free Trial

Download the ASN.1/C++ Tools today!

24x7 Tech Support


We are here: 24 hours a day, 7 days a week.

  • Phone: 1-888-OSS-2761 (USA and Canada)
  • Phone: 1-732-302-9669 (International)
  • Fax: 1-732-302-0023
  • Email:

Quickly receive answers to your support questions.