Another example of Case2S:
Java code:
case (byte)0x21:
for(i = 1; i <= 6; i++)
{
buf[(short)(i - 1)] = (byte)i;
}
apdu.setOutgoingAndSend((short)0, (short)6);
break;
When needing 6C00:
Search found 225 matches: re:
Searched query: re
- Wed Aug 08, 2018 1:45 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
- Wed Aug 08, 2018 1:42 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
Re: T0 Parsing
When Case2S Le doesn’t meet the expectation:
- Wed Aug 08, 2018 1:41 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
Re: T0 Parsing
Case2S TPDU: CLA INS P1 P2 Le (1)Le is in line with expectation. CLA INS P1 P2 Le <- Smart Card Reader Card-> DATA SW1 SW2 (2)Le does not meet expectations and does not prompt for data length as well. CLA INS P1 P2 Le <- Smart Card Reader Card -> 67 00 (3)Le does not meet expectations, but prompts ...
- Wed Aug 08, 2018 1:27 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
Re: T0 Parsing
6. APDU formats There are 4 kinds of APDU formats Case1: CLA INS P1 P2 Case2: CLA INS P1 P2 Le Case3: CLA INS P1 P2 Lc Data Case4: CLA INS P1 P2 Lc Data Le Case1 TPDU:CLA INS P1 P2 00 CLA INS P1 P2 00 <- Smart Card Reader Card-> SW1 SW2 java code: Case (byte)0x11: break; t0-parsing-fig6.jpg t0-pars...
- Wed Aug 08, 2018 1:22 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
Re: T0 Parsing
5. Basic principles of T0 protocol (1) The communication protocol is opened after PPS is completed. (2) The interface device sends a 5-byte command header to the card (3) The card sends process byte. (4) Transfer data in one direction under the control of the process byte Note: Under T0 protocol, b...
- Thu Jul 26, 2018 2:00 am
- Forum: Questions & Answers
- Topic: T0 Parsing
- Replies: 9
- Views: 17324
Re: T0 Parsing
3. Introduction to PPS PPS consists of 4 parts: |PPSS|PPS0|PPS1,PPS2,PPS3|PCK| PPSS: 0xFF PPS0(format byte): indicate whether the following PPSx exists and specify the protocol type PPS1 PPS2 PPS3: Communications parameters and so on PCK: check character 4. Basic concept in T0 Character frame in T0...
- Sun Feb 25, 2018 8:29 pm
- Forum: Questions & Answers
- Topic: About the card asymmetric authentication
- Replies: 1
- Views: 5676
Re: About the card asymmetric authentication
If your card supports SCP10, the card manager handles this and is implemented by the card vendor. SCP10 is the only asymmetric authentication protocol in GP.
- Fri Feb 23, 2018 12:48 pm
- Forum: Questions & Answers
- Topic: How to start my first hello world applet in java card?
- Replies: 2
- Views: 7525
Re: How to start my first hello world applet in java card?
To learn Java Card, first of all you must need to learn Java Card related Specification,such as Java Card Runtime Environment Specification, Java Card Virtual Machine Specification and so on.
- Fri Nov 03, 2017 5:55 am
- Forum: Shopping FAQ
- Topic: Difference between JC10M128C and A22CR card
- Replies: 2
- Views: 15202
Re: Difference between JC10M128C and A22CR card
It's more efficient to check the card product introduction page to know more details by yourself, I think.
- Wed Oct 18, 2017 10:10 pm
- Forum: Questions & Answers
- Topic: APDU SELECT communication
- Replies: 1
- Views: 5670
Re: APDU SELECT communication
SELECT command itself for a Java Card is described on the application layer in the corresponding specifications. On the low level only the protocol (T=0/1: ISO7816-3, T=CL: ISO14443) is described . The APDU structure is described in ISO7816-4. The commands described are not supported with the except...