Method and device for CAP file comparison in Java Card
A file and JAVA technology, which is applied in the field of CAP file comparison, can solve the problems that CAP file direct comparison cannot be performed, and the efficiency is low.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] In order to solve the problem that viewing the content of CAP files can only be performed in bytes, the efficiency is low, and the direct comparison of CAP files cannot be carried out at all, the example of the present invention provides a method for comparing CAP files in JavaCard, which can be viewed intuitively CAP file content, and compare between different CAP files. Specifically, the method includes:
[0028] Step 101, read the content of the CAP file;
[0029] Read two CAP files produced by different JAVA converters, such as Cap1 and Cap2, and decompress the read files according to the JAVA specification to form a binary data file. For example, the reading process can be implemented by the following command:
[0030] Capcap1 = newCapFileParser().parser(fileName1);
[0031] Capcap2 = newCapFileParser().parser(fileName2);
[0032] Step 102, analyzing the read CAP file;
[0033] Analyze the read two CAP files according to the JAVA card specification. The CAP f...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 