Signing

Code signing is required for applications to run on physical devices.

In general, if your application or library uses an API it must be signed. The BlackBerry messaging library is provided as a single unsigned .jar file (an unsigned “library” – essentially a zip of bytecode .class files), which allows you to compile applications as a single .cod file (application) for the end user, simplifying deployment and eliminating shared files (which can be a problem during installation or uninstallation). Since you access privileged APIs, it is necessary to sign the .cod into which the .jar library is compiled.

Implement code signing from the BlackBerry JDE:
  1. Download and install the Signing Authority Tool from the BlackBerry Web site: https://swdownloads.blackberry.com/Downloads/entry.do?code=D82118376DF344B0010F53909B961DB3.
  2. Use the BlackBerry Signature Tool to request a code signature from the BlackBerry Signing Authority Tool.
  3. Use the BlackBerry Signing Authority Tool to sign the .cod files.