Signing a MIDlet suite allows MIDP devices to verify the integrity and origins
of your MIDlet suite. To sign a MIDlet suite, you assign or create a key
pair.
A private key that is used to create a digital signature, or certificate.
A public key that can be used by anyone to verify the authenticity of the
signature.
Key pairs are stored in keystore (.ks) files.
To create a new keystore:
Choose File > <active project name> Properties. In the
Project Properties dialog, select Build > Signing.
Click the Open Security Manager button.
This opens the Security Manager dialog.
Click the Add Keystore button.
Choose the Create a New Keystore radio button and enter the following information:
Keystore name. A legal filename with the extension
.ks
Keystore Folder. Folder in your system where the keystore
file will be saved.
Password. The password that can be used to unlock the
keystore.
Click OK to close the dialog.
The new keystore is displayed in the Keystores window of the Security Manager.
To add an existing keystore:
Choose File > <active project name> Properties. In the
Project Properties dialog, select Build > Signing.
Click the Open Security Manager button.
This opens the Security Manager dialog.
Click the Add Keystore button.
This opens the Add Keystore dialog.
Choose the Add Existing Keystore radio button.
Click the browse button to navigate to the location of the keystore file
you want to add.
Click OK to close the dialog.
The new keystore is displayed in the Keystores window of the Security Manager.
For more information about key pairs and keystores, see