Blackberry Java Development Environment 4.6.0 Manual - Halaman 8
Jelajahi secara online atau unduh pdf Manual untuk Perangkat lunak Blackberry Java Development Environment 4.6.0. Blackberry Java Development Environment 4.6.0 36 halaman. Cryptographic smart card driver
Cryptographic Smart Card Driver Development Guide
Creating a cryptographic smart card driver
To create a cryptographic smart card driver for BlackBerry Device Software Version 4.1 or later, complete the
following tasks:
1.
Set up the project for the cryptographic smart card driver.
2. Design a cryptographic smart card driver.
3. Create a cryptographic session for a cryptographic smart card driver.
4. Create a cryptographic token for private key operations.
5. Store the location of the private key file.
Set up the project for the cryptographic smart card driver
Task
Set up the project.
Configure the project.
libMain()
Create a
method.
Design a cryptographic smart card driver
You must implement all of the following methods:
Task
Enable a smart card driver to open a
cryptographic session with a smart card.
Enable a smart card driver to verify if a smart
card is compatible with a specific Answer To
Reset (ATR) sequence.
Enable a smart card driver to display
settings or properties.
Enable a smart card driver to indicate
support for display settings.
Retrieve the capabilities of a smart card.
Retrieve the smart card type.
4
Steps
1. Open the BlackBerry® Integrated Development Environment.
2. Create a new project for the cryptographic smart card driver.
1. In the Workspace window, right-click the new project.
2. Select Properties.
3. On the Application tab, in the Project type field, type Library.
4. Select the Auto-run on startup check box.
5. In the Startup Tier field, select the 7(Last; 3rd party apps only) option.
6. Click OK.
CryptoSmartCard
>
In your extension of the
Steps
SmartCard.openSessionImpl(SmartCardReaderSession)
>
Implement
SmartCard.checkAnswerToResetImpl(AnswerToReset)
>
Implement
SmartCard.displaySettingsImpl(Object)
>
Implement
SmartCard.isDisplaySettingsAvailableImpl(Object)
>
Implement
SmartCard.getCapabilitiesImpl()
>
Implement
include the protocols the card supports, the baud rate, and the clock adjustment factors.
SmartCard.getLabelImpl()
>
Implement
libMain()
class, implement the
.
. The capabilites of a smart card
.
method.
.
.
.