Download JAVA User's Guide
Transcript
s JAVA User's Guide Confidential / Released Command: switch on module exchange functionality java -jar jseccmd.jar -cmd ObexActivationOn –imei 012345678901234 -alias keyname -storepass keystorepassword -keypass keypassword -keystore customer.ks > ObexActivationOn.bin Command: switch off module exchange functionality java -jar jseccmd.jar -cmd ObexActivationOff –imei 012345678901234 -alias keyname -storepass keystorepassword -keypass keypassword -keystore customer.ks > ObexActivationOff.bin 12.5.4 Sign a MIDlet Use the tool “jadtool.jar” to sign a Java MIDlet. This program is in the folder “wkt\bin”. 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 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. TC65_AC75_JAVA User's Guide_V08 Page 96 of 105 2006-06-12