Search found 18 matches
- Sun May 22, 2022 3:05 am
- Forum: Questions & Answers
- Topic: Generate .cap file
- Replies: 1
- Views: 10109
Re: Generate .cap file
delete all files in ./bin folder.
- Sun May 22, 2022 3:03 am
- Forum: Questions & Answers
- Topic: GP init update failed. recv: 67 00
- Replies: 1
- Views: 10100
Re: GP init update failed. recv: 67 00
Please check if your card is a javacard,
a simple way, send following commands:
00 a4 04 00
00 ca 00 66
the first is selecting card manager, the other one is get CARD data, if 6A88 is returned, it can be sure that the card is not javacard.
a simple way, send following commands:
00 a4 04 00
00 ca 00 66
the first is selecting card manager, the other one is get CARD data, if 6A88 is returned, it can be sure that the card is not javacard.
- Fri May 20, 2022 8:20 am
- Forum: Questions & Answers
- Topic: Customize JavaCard ATR
- Replies: 1
- Views: 10001
Re: Customize JavaCard ATR
Yes, it is impossible to change ATR of javacard if you don't have its reference manual.
- Fri May 20, 2022 8:16 am
- Forum: Questions & Answers
- Topic: Installing applet with pyApduTool giving error 69 85
- Replies: 1
- Views: 9743
Re: Installing applet with pyApduTool giving error 69 85
There are many causes, you could check install / construction method of your applet:
1. if too many clear on deselect/reset memory were allocated
2. if some Key/Cipher/Signature, were initialized, that are not supported by card.
1. if too many clear on deselect/reset memory were allocated
2. if some Key/Cipher/Signature, were initialized, that are not supported by card.
- Mon May 21, 2018 4:12 am
- Forum: Questions & Answers
- Topic: PIN_TRY_COUNTER
- Replies: 5
- Views: 9187
Re: PIN_TRY_COUNTER
please read documemt of javacard API: javacard.framework.OwnerPIN to decrease try count, just call check(..) with wrong PIN, follwoing is fragment of method check (): ublic boolean check(byte[] pin, short offset, byte length) throws ArrayIndexOutOfBoundsException, NullPointerException Compares pin a...
- Tue May 15, 2018 8:34 am
- Forum: Applets Development Guide
- Topic: Encryption using secure element/domain keys
- Replies: 1
- Views: 12680
Re: Encryption using secure element/domain keys
Yes, you may misunderstand the purpose of key-enc (DEK key), which is used to establish secure Communication channel between SE and external entity to loading or personalizing application instead of general purpose cipher. If you want to use SE to encrypt or decrypt data for you, you should write yo...
- Tue May 15, 2018 8:25 am
- Forum: Questions & Answers
- Topic: Want to know how unwrap send command works.
- Replies: 3
- Views: 7560
Re: Want to know how unwrap send command works.
The PUT Key command shall run on established secure channel, so you applet must proess the 'initialize update ' and 'external authenticate' commands first just like below : switch (ins) case INITIALIZE_UPDATE: apdu.setOutgoingAndSend((short) 5, GPSystem.getSecureChannel().processSecurity(apdu)); bre...
- Tue May 15, 2018 2:08 am
- Forum: Questions & Answers
- Topic: How to calculate baud rate OR speed of CARD from ETU and ATR ?
- Replies: 3
- Views: 9926
Re: How to calculate baud rate OR speed of CARD from ETU and ATR ?
HI, you can refer below table: frequency was set to 3.571200 MHz +--------+----------+--------+------------+----------------+-----------------+-----------------+ | TA1 | Fi | Di | f(max) MHz | periods of ETU | duration of ETU | Baud rate | +========+==========+========+============+================+...
- Wed Apr 18, 2018 10:14 pm
- Forum: Questions & Answers
- Topic: Multiply big numbers
- Replies: 8
- Views: 15494
Re: Multiply big numbers
You should know something important about javacard: 1. javacard is the mini subset of standard Java, so most of features, packages and classes are not supported in javacard. For example , class BigInterger, it is only available on standard Java (JDK) , if you use it on javacad, you can't build it su...
- Wed Apr 18, 2018 5:00 am
- Forum: Questions & Answers
- Topic: Multiply big numbers
- Replies: 8
- Views: 15494
Re: Multiply big numbers
HI, guy, are you sure your javacard provide those special API for big integer modular arithmetic ? the standard javacard API can't support your requirements. you may need special javacard equipped with non-standard API to support big integer operation, such as modular add/sub/multiply/GCD and so on....