Search code examples
javarfidmifaresmartcard-readercontactless-smartcard

Use javax.smartcardio for MIFARE Classic and Omnikey 5021 CL


Can the API javax.smartcardio be used on for finding the smart card terminal for the card reader Omnikey 5021 CL and to read sectors of a MIFARE Classic card? This needs to work on a Windows 7 computer.


Solution

  • Yes, this reader supports PC/SC 2.0 and is, thus, accessible through javax.smartcardio. You can access MIFARE Classic cards through the PC/SC extensions for contactless storage cards.

    See the PC/SC specification for standard commands (load keys, general authenticate, read binary, update binary) and the Omnikey contactless developer guide for additional commands and for keyslots usable for authentication with MIFARE Classic keys.