ASN1C BER/DER Runtime Classes and Library Functions
ASN1C v6.2.xThe ASN.1 C++ Runtime Classes are wrapper classes that provide an object-oriented interface to the ASN.1 C runtime library functions. The classes described in this manual are derived from the common classes documented in the ASN1C C/C++ Common Runtime manual. They are specific to the Basic Encoding Rules (BER) and Distinguished Encoding Rules (DER) as defined in the ITU-T X.690 standard.
These BER/DER specific C++ runtime classes include:
- classes for streaming BER/DER decoding
- classes for streaming BER/DER encoding.
The ASN.1 BER Runtime Library contains all of the low-level constants, types, and functions that are assembled by the compiler to encode/decode more complex structures.
This library consists of the following two items:
- A global include file ("asn1ber.h") that is compiled into all generated source files.
- An object library of functions that are linked with the C functions after compilation with a C complier.
In general, programmers will not need to be too concerned with the details of these functions. The ASN.1 compiler generates calls to them in the C or C++ source files that it creates. However, the functions in the library may also be called on their own in applications requiring their specific functionality.