Java2 codes,problems ,discussions and solutions are here
Tue May 20, 2008 6:28 am
how to make a secure jar file...using jarsigner r any other option....
Thanks,
Kaviurs
Tue May 20, 2008 5:06 pm
Hi ,
I found this link :
- Code:
http://sf-jarsigner.gforge.inria.fr/alternatives.html
, i hope it is useful
Wed May 21, 2008 10:23 am
Thanx 4 ur reply...
other than Jarsigner any other solution.....
Thanks,
Kaviurs
Sun May 25, 2008 5:26 pm
Here is the steps :
1. Make sure that you have an SDK 1.4.2 keytool and jarsigner in your path. These tools are located in the SDK bin directory.
2. Create a new key in a new keystore as follows:
keytool -genkey -keystore myKeystore -alias myself
You will get prompted for a information about the new key, such as password, name, etc. This will create the myKeystore file on disk.
3. Then create a self-signed test certificate as follows:
keytool -selfcert -alias myself -keystore myKeystore
This will prompt for the password. Generating the certificate may take a few minutes.
4. Check to make sure that everything is okay. To list the contents of the keystore, use this command:
keytool -list -keystore myKeystore
It should list something like:
Keystore type: jks
Keystore provider: SUN
Your keystore contains 1 entry:
myself, Tue Jan 23 19:29:32 PST 2001, keyEntry,
Certificate fingerprint (MD5):
C2:E9:BF:F9:D3:DF:4C:8F:3C:5F:22:9E:AF:0B:42:9D
5. Finally, sign the JAR file with the test certificate as follows:
jarsigner -keystore myKeystore test.jar myself
Repeat this step with all of your JAR files.
Sun May 25, 2008 5:30 pm
Hi again .
Did you hear about advantage of obfuscation in java ?
- Code:
http://www.yworks.com/en/products_yguard_about.htm
Sun May 25, 2008 5:39 pm
Good topic thanks
Mon May 26, 2008 7:19 am
Hi,
Thanx 4 ur reply...
Regards,
Kaviurs
Topic Tags
Java Basics
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.