提出了安全协议多目标语言代码自动化实现方案。首先,基于XML语言,设计了安全协议描述方法;其次,开发了一个图形用户接口GUI,用户通过GUI配置安全协议,自动化生成协议的XML描述文档;最后,设计并实现了一个安全协议编译器,将先前得到的XML描述文档作为输入,生成所需的目标语言代码。分析表明同已有方案相比,该方案具有明显的优势。
A multi-objective-language-oriented automatic code generation scheme for security protocols was put forward.First,based on XML,a description method for security protocols was designed.Second,a graphic user interface(GUI) was developed,through which the XML description documents could be automatically generated by configuring the se-curity protocol.Finally,a security protocol interpreter was designed,through which the corresponding objective code was generated with the XML description document as input.Analysis indicates that compared with the existing schemes the scheme has obvious advantages.