Creating a New Key Pair

See Also

Signing a MIDlet suite allows MIDP devices to verify the integrity and origins of your MIDlet suite. To sign a MIDlet suite, you use the Signing Properties page to assign or create a key pair:

You can then export the key pair to the emulator platform you are using for testing.

To create a new key pair:

  1. Choose File > <active project name> Properties. In the Project Properties dialog, select Build > Signing.
  2. Check the Sign Distribution checkbox to enable signing.
  3. Choose a keystore from the Keystore drop-down menu.
    The Security certificate details of the selected keystore
    1. If no keystore is available, or you want to create a new keystore, click the Open Security Manager button.
      This opens the Security Manager dialog.
    2. Choose a keystore from the left window of the dialog, or click Add Keystore to create a new keystore.
      Then close the Security manager.
  4. Choose an alias from the Alias keystore drop-down menu. The menu lists the available aliases for the selected keystore.
    You can create new aliases in the Security Manager dialog.
  5. If necessary, click the unlock buttons to make the keystore and alias available for use.
  6. Click the Export Key into Java ME SDK/Platform/Emulator button to export a key into the emulator platform you intend to use to test the MIDlet.

For more information about key pairs and keystores, see

.
See Also
Setting Security through MIDlet Signing
About MIDP Signing and Security
Adding or Creating a Keystore
Setting the Security Domain

Legal Notices