Siemens XT75 User Manual

Page of 123
Java User’s Guide
12.6 Attention
112
s
wm_java_usersguide_v12
Page 112 of 123
2008-02-25
Confidential / Released
12.5.4
Sign a MIDlet
Use the tool “jadtool.jar”  to sign a Java MIDlet.  This program is in the folder “wkt\bin”.
12.6
Attention
The central element of Java Security is the private key. If Java Security is activated and you
lose the private key, then the module is destroyed. You have no chance of deactivating Java
Security, downloading of a new Midlet or starting any other operation concerning Java Security.
To prevent problems you are strongly advised to secure the private key.
java -jar jadtool.jar -addjarsig -jarfile helloworld.jar
                           -inputjad helloworld.jad
                           -outputjad helloworld.jad
                           -alias keyname -storepass keystorepassword
                           -keypass keypassword -keystore customer.ks
                           -encoding UTF-8