Skip to content

1.1.0

Choose a tag to compare

@jeanpierrefortune jeanpierrefortune released this 06 Feb 09:30
5d4ccbb

Added

  • Mifare Classic support: New product types MIFARE_CLASSIC_1K and MIFARE_CLASSIC_4K in ProductType enum to support NXP Mifare Classic 1K (64 blocks) and 4K (256 blocks) cards.
  • Authentication capability: New ProductType.hasAuthentication() method to indicate whether a storage card requires authentication before read/write operations.
  • Mifare Classic key types: New MifareClassicKeyType enum with KEY_A and KEY_B constants for Mifare Classic authentication.
  • Authentication methods: New authentication methods for Mifare Classic cards:
    • StorageCardSelectionExtension.prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType, byte[] key)
    • StorageCardSelectionExtension.prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType, int keyNumber)
    • StorageCardTransactionManager.prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType, byte[] key)
    • StorageCardTransactionManager.prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType, int keyNumber)
  • Authentication exception: New SCAuthenticationFailedException for handling Mifare Classic
    authentication failures.
  • ST25-specific system block methods: New dedicated methods for ST25/SRT512 system block access:
    • StorageCardTransactionManager.prepareSt25ReadSystemBlock()
    • StorageCardTransactionManager.prepareSt25WriteSystemBlock(byte[] data)

Changed

  • System block documentation: Enhanced StorageCard.getSystemBlock() documentation to clarify it is specific to ST25/SRT512 cards.

Deprecated

  • StorageCardTransactionManager.prepareReadSystemBlock() - Use prepareSt25ReadSystemBlock() instead.
  • StorageCardTransactionManager.prepareWriteSystemBlock(byte[]) - Use prepareSt25WriteSystemBlock(byte[]) instead.