摘要: 该文描述一个ASN.1编译器的设计.此编译器依据ASN.1描述的数据结构产生一个编码指导文件和译码指导文件,以实现ASN.1描述的数据和BER码间的变换.此编译器还产生一个C类型的结构定义文件与输入的ASN.1定义的结构相对应,以供网络上支持C环境的应用程序使用.
关键词:
抽象语法标记一,
基本编码规则,
ASN.1编译器
Abstract: The article presents a design of ASN.1 compiler. The compiler will generate a encoding - guide file and a decoding - guide file corresponding to the ASN.1 definition file, The encoding - guide file, associating with the main encoding procedure, can translate ASN.1 data value to BER code, and the decoding-guide file, associating with the main decoding procedure, can convert BER code back to its ASN.1 data value. Besides. the compiler also produce a C definition file based on input ASN.1 data structure file to support C environment.
中图分类号:
郑凯,王能. ASN.1编译器的设计与实现[J]. , 1996, 22(S1): 251-255.
Zheng Kai Wang Neng. A Design and Implementation of ASN.1 Compiler[J]. , 1996, 22(S1): 251-255.