Smart card driver infrastructure

BlackBerry® devices include a software infrastructure that enables them to communicate with a smart card by interacting with the smart card reader the card is inserted in.

When you insert a smart card into a smart card reader, the reader driver retrieves the ATR of the smart card. As a reader driver developer, you must provide an implementation for SmartCardReaderSession.getAnswerToResetImpl() that retrieves and returns the ATR of the smart cards the reader supports.

As a smart card driver developer, you must provide an implementation of SmartCard.checkAnswerToResetImpl(AnswerToReset atr), that returns True if your driver should be used to communicate with the smart card with the provided ATR.

Previous topic: Supported smart cards

Was this information helpful? Send us your comments.