简体   繁体   English

从capFile读取包名称,包AID和Applet AID

[英]read package Name,package AID and Applet AID from capFile

How do i want to get the package AID and applet AID from the cap file? 我要如何从封顶文件中获取软件包AID和小程序AID?

Currently i am using a tool PyApduTool to get the info of the cap file but right now im trying to create my own tool but got stuck on this step. 目前,我正在使用工具PyApduTool来获取Cap文件的信息,但是现在我正试图创建自己的工具,但此步骤卡住了。

Glad if anyone can assists me on this. 很高兴有人可以协助我。

Thanks 谢谢

Download Java Card documentation and look into Java Card Virtual Machine specification. 下载Java Card文档并查看Java Card虚拟机规范。 It explains every detail of CAP file format and is (to the best of my knowledge) completely correct and contains just one minor error which is not relevant to you. 它解释了CAP文件格式的每个细节,并且(据我所知)是完全正确的,并且仅包含一个与您无关的小错误。

I tried following approach and succeed: 我尝试了以下方法并成功:

  • Extract .cap file with any zip extractor (for eg WinZip) 使用任何zip提取器(例如WinZip)提取.cap文件

  • After extraction you will get a MF file (normally named as MANIFEST.MF) 提取后,您将获得一个MF文件(通常命名为MANIFEST.MF)

  • This file contains all information you are asking for 该文件包含您要求的所有信息

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

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