Issue No. 10 - October (1990 vol. 16)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.60300
<p>Abstract syntax notation one (ASN.1) has been widely used in international standard specification: its transfer-syntax, the basic encoding rules (BER), is used as the external data representation. A BER implementation called the ED library is presented. The ED library includes a number of encoding and decoding routines that may be used as primitive functions to compose encoders and decoders for arbitrarily complicated ASN.1 data types. Based on the ED library an ASN.1-C compiler, called CASN1, is designed and implemented to free the protocol implementers from the arduous work of translating protocol-defined data-types and constructing their encoders and decoders. Given an ASN.1 protocol specification, CASN1 automatically translates the input ASN.1 modules into C and generates the BER encoders and decoders for the protocol defined data-types. The CASN1 design principles, user interface, and some example applications are discussed. The performance of the ED library and generated CASN1 code is also measured and discussed.</p>
abstract syntax notation one; design; implementation; ASN.1-C compiler; international standard specification; transfer-syntax; basic encoding rules; external data representation; ED library; decoding; CASN1; protocol; C; user interface; decoding; encoding; program compilers; protocols; standards
G. Neufeld and Y. Yang, "The Design and Implementation of an ASN.1-C Compiler," in IEEE Transactions on Software Engineering, vol. 16, no. , pp. 1209-1220, 1990.