Sorry about the red box, but we really need you to update your browser. Read this excellent article if you're wondering why we are no longer supporting this browser version. Go to Browse Happy for browser suggestions and how to update.

Advanced Security SD card support

A smartphone with BlackBerry Device Software 5.0 or later supports the use of Advanced Security SD (ASSD) cards. ASSD cards are flash memory cards that incorporate smart card functionality. They are defined by the Advanced Security SD Extension Specification Version 2.00 (April 16, 2009) published by the SD Card Association. Version 1.10 of that document was titled Mc-EX Extension Specification.

Draft version 2.00 of the specification defines a Security System as a set of card commands that perform security-related operations. The specification allows for various Security Systems which are identified by integer indexes beginning with 0 and ending with 15. BlackBerry smartphones only support the Mc-EX Security System, which is assigned index 0. The Mc-EX Security System is owned by the 5C Group and is based upon ISO-7816.

ASSD cards do not return ATR sequences. Instead, the reader driver for ASSD cards uses data from the CID register of the card to construct an ATR sequence. The smart card infrastructure uses the ATR that the driver constructs to support the ASSD card as a smart card.

Data formats for virtual ATR sequences

Advanced Security SD cards cannot return an ATR sequence. To use an Advanced Security SD card as a smart card with a BlackBerry smartphone, the reader driver constructs a virtual ATR sequence that is based on the CID register of the Advanced Security SD card. The following tables describe the formats for a virtual ATR sequence. Interface characters are not specified in the virtual ATR sequence.

Bit range

ISO-7816 Name

Value

Width

135-128 TS 0x3B 8
127-120 T0 0x0F 8
119-8 T[1..14] from the media card CID register 112
7-0 TCK calculated to make XOR of {T0-T14,TCK} equal zero 8
Historical bytes format T[1..14]

Bit range

ISO-7816 Characters

Value

Width

119-112 T1 0xFF 8
111-104 T2 value of MID CID register field 8
103-88 T[3..4] value of OID CID register field 16
87-48 T[5..9] value of PNM CID register field 40
47-40 T10 value of PRV CID register field 8
39-8 T[11..14] value of PSN CID register field 32