Contents
1
Using smart cards................................................................................................................................................. 3
Smart cards ........................................................................................................................................................ 3
Add support for smart cards .................................................................................................................... 3
Creating a cryptographic smart card driver ................................................................................................. 4
Set up the project for the cryptographic smart card driver ................................................................ 4
Design a cryptographic smart card driver ............................................................................................. 4
Create a cryptographic session for a cryptographic smart card ........................................................ 5
Create a cryptographic token for private key operations ................................................................... 6
Store the location of the private key file................................................................................................ 8
2
Testing a cryptographic smart card driver...................................................................................................... 11
Set up the BlackBerry Device Simulator to test a cryptographic smart card driver...............................11
Set up a BlackBerry device to test a cryptographic smart card driver .....................................................11
Test the cryptographic smart card driver..................................................................................................... 12
3
Code samples .......................................................................................................................................................15
Code sample: Creating a cryptographic smart card object.......................................................................15
Code sample: Creating a cryptographic session for a cryptographic smart card driver ......................18
Code sample: Enabling a CryptoToken object for RSA operations using a private key....................... 24
Code sample: Storing the location of a private key file on the smart card............................................ 28
Summary of Contents for JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE
Page 4: ......
Page 6: ......
Page 14: ...10 Cryptographic Smart Card Driver Development Guide...
Page 17: ...13 2 Testing a cryptographic smart card driver...
Page 18: ...14 Cryptographic Smart Card Driver Development Guide...
Page 34: ...30 Cryptographic Smart Card Driver Development Guide...
Page 35: ......
Page 36: ...2007 Research In Motion Limited Published in Canada...