Protect Apis Using Code Signing Keys; Protect Runtime Store Data Using Code Signing Keys - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE Manual

Version: 4.7.0
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Development Guide

Protect APIs using code signing keys

1.
After you receive an internal key, an external key, or both keys, in the BlackBerry® Integrated Development Environment,
open the project that contains the APIs that you want to control access to.
2.
In the Workspace window, right-click the project file.
3.
Click Add File to Project.
4.
In the Look In field, browse to C:\Program Files\Research In Motion\BlackBerry Password Based Code Signing Authority
\data or the location where the .key file is saved.
5.
Perform one of the following tasks:
Option
Use an internal key
Use an external key
6.
Click Ok.
7.
Re-compile the project.

Protect runtime store data using code signing keys

1.
Import the following classes:
• java.util.Hashtable
Description
a.
Select the internal .key file, for example, the ACMI.key file.
b.
Click Open.
c.
In the Workspace window, double click the .key file.
d.
Select the Use as default for public classes option and Use
as default for non-public classes settings.
e.
Click OK.
f.
In the Workspace window, right-click the project file.
g.
Click Add File to Project.
h.
In the Look In field, browse to C:\Program Files\Research In
Motion\BlackBerry Password Based Code Signing Authority
\data.
a.
Select the external .key file, for example, the RSAE.key file.
b.
Click Open.
c.
In the Packages and classes protection window, find the name
of the package that contains the sensitive API items.
d.
Expand the package contents.
e.
Select each API element that requires access control.
Protect APIs using code signing keys
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents