简体   繁体   English

Java Card Applet部署详细视图

[英]java cards applets deployment in detail view

As you know output file format of a java applet in a .cap file which must deploy to the java card by a smart card reader/writer like ACR122 or any other one, And as i believe this deployment process between java card & reader/write device is based on ISO7816 protocol.Is there any information about detail process and layers of interpreting these cap files to APDU command ,sequence of transmitting commands? 如您所知,.cap文件中的Java applet的输出文件格式必须由诸如ACR122或其他任何一种的智能卡读/写器部署到Java卡,并且我相信Java卡和读/写之间的部署过程该设备基于ISO7816协议。是否有关于这些Cap文件解释为APDU命令,发送命令顺序的详细过程和层次的信息? whatever reader/writer do.Is there any other references protocol ,document for that? 读者/作家做什么。是否还有其他参考协议,文档? WBR. WBR。

You are mostly right: 您基本上是正确的:

ISO7816-4 is a standard that describes the interaction and communication between a card and a reader(and many more details like file structure and commands) on the very basic level, that is an APDU. ISO7816-4是描述卡和读卡器(以及更多详细信息,如文件结构和命令)之间的交互和通讯的标准,它是非常基本的级别,即APDU。

JavaCard is a standard from SUN and now maintained by Oracle, that provides an API for applets and the JCRE/JCVM, so that diffrent smartcard vendors can created platoforms for portable code. JavaCard是SUN的一种标准,现在由Oracle维护,该标准提供了用于applet和JCRE / JCVM的API,以便不同的智能卡供应商可以为可移植代码创建平台。

That protable code is in the end compiled into a cap file which is loaded onto the card. 最终,该可维护代码被编译成一个上限文件,该上限文件被加载到卡上。

The framework which installs, manages and maintains the card is called Global Platform specification. 安装,管理和维护卡的框架称为Global Platform规范。 It handles applets, keys, life cycle management and some additional data. 它处理小程序,密钥,生命周期管理和一些其他数据。 The GP modules are usually already on the card and you are resticted to change them in most ways. GP模块通常已经在卡上,因此您无法以大多数方式进行更改。 All important Javacard operating systems implement the Global Platform framework. 所有重要的Javacard操作系统都实现了Global Platform框架。 Therefore the tools provided by your vendor already include this functionality. 因此,您的供应商提供的工具已经包含此功能。 If you want to use open source software, there are good alternatives like GlobalPlatformPro from Martin Paljak. 如果您想使用开源软件,那么可以使用Martin Paljak的GlobalPlatformPro之类的好选择。 You can also call some functionality of GP from within JavaCard applet code. 您还可以从JavaCard小程序代码中调用GP的某些功能。 If you want to stroll around in the spec and try things out, beware to identify the card's version and choose the right spec. 如果您想在规格中闲逛并尝试一下,请当心确定卡的版本并选择正确的规格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM