0

For now, i am working on Gemalto Smart Card and i would like to Read CIN / CSN from it

My card is Card OS 5.3 smart card

There are some steps that i called following index 4 in https://github.com/A-Trust/RKSV/blob/main/a.sign%20RK%20CHIP/APDU%20Examples/APDU_API.pdf

And their responses are

  1. PC_to_RDR_IccPowerOn to get ATR 62 00 00 00 00 00 00 00 0000 ==>801800000000000000003BDF18008131FE588031905241016405C903AC73B7B1D444000000000000000000000000000000000000000000000000000000000000 with ATR is 3BDF18008131FE588031905241016405C903AC73B7B1D444 it's a.sign RK CHIP with certificate following https://www.a-trust.at/webshop/Detail.aspx?ProdId=2021

  2. PC_to_RDR_SetParameters to set protocol to T=1 61 07000000 00 01 01 0000 11 10 00 4D 00 40 00 ==> 820700000000010000011110004D0040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  3. PC_to_RDR_XfrBlock to select Master file (MF) 6F 06000000 00 02 00 0000 00a4000c3f00 ==> 80040000000002000000008100810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  4. PC_to_RDR_XfrBlock to Select DF_DEC 6F 06000000 00 03 00 0000 00A4000CDF71 ==> 8000000000000340FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  5. PC_to_RDR_XfrBlock to Select EF_CIN_CSN 6F 06000000 00 04 00 0000 00A4000CD001 ==> 80040000000004000000008100810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  6. PC_to_RDR_XfrBlock to Read binary 6F 05000000 00 05 00 0000 00B0000000 ==> 8000000000000540FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

SO in step 4 and 6, i got 40 FE and tt seems something went wrong

Could you please help me to check it Any answer is appreciate

Thank you very much

There is no library for Android and i expected to get CIN from it

shenlong
  • 21
  • 3

0 Answers0