File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Sign Jar using Existing Jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Sign Jar using Existing Jar" Watch "Sign Jar using Existing Jar" New topic

Sign Jar using Existing Jar

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 dont 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 />................................
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243

If you can't use the credentials of the already signed jar files on your own jar, then you can still make this work. You will need to use the extension clause in your jnlp as many times as necessary (each time for a jar file signed with a different signature). Have a search around for this clause and I am sure it will make sense.

Cheers, Jared.

SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
I agree. Here's the link:
subject: Sign Jar using Existing Jar
It's not a secret anymore!