作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 1996, Vol. 22 ›› Issue (S1): 251-255.

• 论文 • 上一篇    下一篇

ASN.1编译器的设计与实现

郑凯,王能   

  1. 华东师范大学 上海 200062,华东师范大学 上海 200062
  • 发布日期:1996-12-29

A Design and Implementation of ASN.1 Compiler

Zheng Kai Wang Neng   

  1. (East China Normal University Shanghai 200062)
  • Published:1996-12-29

摘要: 该文描述一个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.

中图分类号: