I am attempting to use a Broadcom contactless smard card reader to read a HID iCLASS card using PC/SC and <winscard.h>
.
I can successfully read the card's serial number by calling winscard's SCardTransmit function with the APDU FF CA 00 00 00
; however, I cannot figure out how to extract and decrypt the iCLASS card's contents.
According to HID's OMNIKEY developer guide chapter 12, one can start a secure session by issuing an APDU with INS 0x72. Once the secure session is established, they can read the card's contents. When I issue the APDU FF 72 00 68 10 <16-byte key>
, I get a response SP1/SP2 of 6D 00
standing for "INS not supported". This is unsurprising as INS 0x72 is specific to the OMNIKEY readers and not supported by my Broadcom reader. How do I start the equivalent of a secure session with an iCLASS card using a third party reader?