Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
617 views
in Technique[技术] by (71.8m points)

smartcard - I can't find APDU commands for SLE5542

I can't find anywhere a valid APDU list for SLE5542 smartcard. Actually I found this: http://www.acs.com.hk/drivers/eng/PMA_ACR38x(CCID)_v6.01.pdf but it's not working.

I've searched also for SLE4442 which is compatible, I've searched some standardization, but nothing. (I found some comprehensive datasheets about SLE4442 but they don't contain APDU data)

I'm novice in this domain, so maybe I'm missing something.

In the end I want to be able to read/write some data to the card. (including Programmable Security Code PSC Verfication)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The SLE5528 and 4428 are no SMARTcards, just dumb (synchronous) memory chips supporting the 3-wire protocol if I remember correctly. So they send no ATR and do not understand APDUs. Instead they understand just three hardwired commands: read, write (both operating with offsets) and PIN verify. The offset starting from which writing requires previous PIN entry can be configured. Unfortunately PCSC gives no support addressing stuff like this. There is a reader-independent interface called CT-API (somewhat popular in mid-90s in Germany to address health insurance cards, but possibly nearly extinguished since), but it is reader-dependent and must be provided by the reader manufacturer. Confusingly it also has an APDU-like command/response structure, but this is converted by the driver/reader to low-level hardware operation. This also explains, why the APDU list is so difficult to get: the chip itself has none. This question has a good answers, which might help further.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...