aspose file tools*
The moose likes Java in General and the fly likes Sign .jar file using existing signed .jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Sign .jar file using existing signed .jar file" Watch "Sign .jar file using existing signed .jar file" New topic
Author

Sign .jar file using existing signed .jar file

Rohan Kalbhor
Ranch Hand

Joined: Aug 18, 2006
Posts: 78
Hello all,
I have some Signed Jar files.Now I have to insert my own jar file into the already existing jar files .Obviously my Jar file is not signed so it will not work.
I do not have the signature used to sign the existing jar files
Is there any way that i can sign my jar file using the existing jar files?
Is there any other way?


Please Help
Rohan Kalbhor


..............................<br />Exceptions are a part of possibility<br />Errors are a part of truth<br />................................
Jan van Mansum
Ranch Hand

Joined: Oct 19, 2007
Posts: 74
You need the certificate with which your signed jar files were signed. You cannot sign your jar file with a signed jar file. That would defeat the purpose of signing, as it would mean that you could download a jar file signed by say Sun Microsystems and then create your own jar files---containing, say, a virus---signed by Sun Microsystems.

Are you creating an applet, a Java application deployed by WebStart or something else?


SCJP 1.4, SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sign .jar file using existing signed .jar file