Troubleshooting guide
5
Using smart cards
Smart cards
Adding support for unsupported smart cards
Smart cards are credit card-sized devices that are designed to store and transfer sensitive data.
Creating a smart card driver
To create a smart card driver, complete the following tasks:
1. Create a smart card object.
2. Enable libMain() on startup.
3. Create a session for the smart card driver.
4. Enable a CryptoToken for private key operations.
5. Store the private key file location.
Create a smart card object
Smart cards
Creating a smart card driver
Smart card scenario Description
Working with supported
smart cards.
The BlackBerry® device supports the following smart cards:
• CAC
• SafeNet smart card (Datakey Model 330)
Working with unsupported
smart cards.
If your smart card is not a CAC or SafeNet smart card, use the smart card API to write a BlackBerry device driver
to support your smart card. The smart card API provides a library of components, in the
net.rim.device.api.smartcard package, for interacting with smart cards and smart card readers.
Drivers that correctly implement the smart card API can work with the S/MIME application on an S/MIME-
enabled BlackBerry device. They can import certificates from the smart card and perform private key
operations on the smart card, such as sign and decrypt messages. See the
BlackBerry with the S/MIME
Support Package
for more information about S/MIME.
Task Steps
Register a smart card driver with the
SmartCardFactory.
> Extend the abstract CryptoSmartCard class.