In MTJ, the signing of applications can be done manually in the Security Management for MTJ applications window, or automatically every time you build an application. In MTJ, signing is done using a public key and a certificate.
Automatic signing happens only if the application is currently signed (since the .jar file may change during building). You can quickly re-sign the application by right-clicking the MTJ project in the Package Explorer editor and selecting Sign MTJ Application.
Note: You cannot sign applications without first configuring the security managers and signing providers. The configuring is done in MTJ Preferences.
Note: Currently MTJ can only sign applications that have the device profile MIDP-2.0.
To sign an application
In the menu bar, select MTJ
-> Application Security.
The Security Management for MTJ Applications window opens.
You have now signed the application.
Tip: To quickly re-sign a signed MTJ project, highlight the targeted MTJ project and right-click. In the context sensitive menu, select MTJ -> Sign MTJ Application.
To unsign an application
You have now unsigned the application.
Tip: To quickly unsign a signed MTJ project, highlight the targeted MTJ project and right-click. In the context sensitive menu, select MTJ -> Unsign MTJ Application.
![]()
Mobile Tools for Java Platform