Skip to Main Content

Java Card

Announcement

Testing banner

use maskgen in java_card_kit-2_1_2

MarDec 1 2021

Hi
I want to use maskgen to generate c file of HelloWorld sample.
However, it's failed as belows :
>>maskgen.bat -o mask.c cref C:\java_card_kit-2_1_2\samples\classes\com\sun\javacard\samples\HelloWorld\javacard\HelloWorld.jca
Java Card 2.1.2 Mask Builder (version 0.55)
Copyright (c) 2001 Sun Microsystems, Inc. All rights reserved.
error: Package 0xa0:0x00:0x00:0x00:0x62:0x01:0x01 1.0 imported by com/sun/javacard/samples/HelloWorld is missing.
Mask generation completed with 0 warnings and 1 errors.

In HelloWorld.jca file, 0xa0:0x00:0x00:0x00:0x62:0x01:0x01 is javacard.framework package.
How do I solve this issue?
How do I generate jca file of javacard.framework package?

Thanks you!

Comments
Post Details
Added on Dec 1 2021
4 comments
89 views