Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual ...Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.展开更多
为解决C语言数据类型在支持后下载应用的片上操作系统(COS)中无法完全满足应用程序数据的存储特性和安全需求的问题,分析了Java Card和C语言数据类型的属性,提出了一种基于 C 语言扩展的应用程序数据类型体系。根据数据分类,重点阐述了...为解决C语言数据类型在支持后下载应用的片上操作系统(COS)中无法完全满足应用程序数据的存储特性和安全需求的问题,分析了Java Card和C语言数据类型的属性,提出了一种基于 C 语言扩展的应用程序数据类型体系。根据数据分类,重点阐述了4种模块数据类型和5种应用数据类型。测试结果表明,该数据类型体系满足了COS应用程序数据的需求,有效提升了内存利用率和应用执行性能,为COS虚拟机运行时环境提供了高效的数据模型。展开更多
基金This work was supported by the special science foundation of Heilongjiang Province for post-doctor.
摘要Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.
摘要为解决C语言数据类型在支持后下载应用的片上操作系统(COS)中无法完全满足应用程序数据的存储特性和安全需求的问题,分析了Java Card和C语言数据类型的属性,提出了一种基于 C 语言扩展的应用程序数据类型体系。根据数据分类,重点阐述了4种模块数据类型和5种应用数据类型。测试结果表明,该数据类型体系满足了COS应用程序数据的需求,有效提升了内存利用率和应用执行性能,为COS虚拟机运行时环境提供了高效的数据模型。