Blackberry Java Development Environment 4.6.0 Handbuch - Seite 5
Blättern Sie online oder laden Sie pdf Handbuch für Software Blackberry Java Development Environment 4.6.0 herunter. Blackberry Java Development Environment 4.6.0 36 Seiten. Cryptographic smart card driver
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