Now I don't have any good idea to achieve your goal. You may await for the experts in this forum to help.
Sorry for not being helpful to you.
Search found 225 matches: re:
Searched query: re
- Wed Jul 19, 2017 3:07 am
- Forum: Applets Development Guide
- Topic: Change Carrier Applet
- Replies: 3
- Views: 9592
- Tue Jul 18, 2017 3:13 am
- Forum: Questions & Answers
- Topic: CLA byte of the select APDU command
- Replies: 2
- Views: 7033
Re: CLA byte of the select APDU command
SELECT APDU command 00 A4 04 00 is a standard APDU defined in ISO 7816-4 spec.
Regarding CLA bytes, you can check ISO 7816-4 spec to learn which values can be used as CLA.
Regarding CLA bytes, you can check ISO 7816-4 spec to learn which values can be used as CLA.
- Tue Jul 18, 2017 2:56 am
- Forum: Applets Development Guide
- Topic: Change Carrier Applet
- Replies: 3
- Views: 9592
Re: Change Carrier Applet
What does "Carrier" mean?
Do you mean you want to write an applet to simulate a sim card, right?
if there is an applet that simulate a sim card that can have 2 different carriers.
Do you mean you want to write an applet to simulate a sim card, right?
- Thu Jul 13, 2017 12:05 am
- Forum: Questions & Answers
- Topic: Problem in sending extended APDU
- Replies: 2
- Views: 6295
Re: Problem in sending extended APDU
Refer to this code section: short readCount = apdu.setIncomingAndReceive(); while ( bytesLeft > 0){ // process bytes in buffer[5] to buffer[readCount+4]; bytesLeft -= readCount; readCount = apdu.receiveBytes ( ISO7816.OFFSET_CDATA ); } You need to call receiveBytes to receive the left bytes.
- Wed Jul 12, 2017 3:36 am
- Forum: Questions & Answers
- Topic: The meaning of output command
- Replies: 2
- Views: 6735
Re: The meaning of output command
Select Card Manager <<00 A4 04 00 00 >>6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 01 FF 90 00 init-update <<80 50 00 00 08 04 CE 7B 37 AE 39 9C 40 1C >>00 00 00 00 00 00 00 00 00 00 FF 02 00 AE 17 80 CA 58 64 E9 8C B3 17 CC 11 71 83 66 90 00 ext-auth <<84 82 00 00 10 64 B1 17 85 20 34 F1 71 54...
- Wed Jul 05, 2017 11:00 pm
- Forum: Questions & Answers
- Topic: Secure Messaging
- Replies: 3
- Views: 7797
Re: Secure Messaging
The problem is your SELECT command is terminating the secure channel. So perform the select before the secure channel.
- Thu Jun 29, 2017 4:11 am
- Forum: Questions & Answers
- Topic: javax.crypto.BadPaddingException
- Replies: 4
- Views: 11062
Re: javax.crypto.BadPaddingException
Try to replace the following code
with
Code: Select all
byte[] p = new byte[64];
// Encrypt with the public key
cipher.doFinal(s, 0, s.length, p, 0);
with
Code: Select all
// Encrypt with the public key
byte[] p = cipher.doFinal(s);
- Wed Jun 21, 2017 12:02 am
- Forum: Questions & Answers
- Topic: How to use a smart card to send encrypted mail?
- Replies: 2
- Views: 6130
- Fri Jun 16, 2017 5:37 am
- Forum: Questions & Answers
- Topic: SELECT command
- Replies: 3
- Views: 8206
Re: SELECT command
Your code has told the OS to get ready to send the required data and then keeps executing through to your switch statement which does not understand the INS and throws the appropriate error. Please add a "return" statement after sendBytesLong().
- Thu Jun 15, 2017 10:24 pm
- Forum: Questions & Answers
- Topic: SELECT command
- Replies: 3
- Views: 8206
Re: SELECT command
Can you describe your problem more detailed so that we can provide specific help for you.