Hi folks,
using the BouncyCastle might not help
+) you still need the unrestricted policy files to accessible +) the BC libraries still need to be in the boot classpath +) you might add BC as security provider in your JDK security.policy
So the simple question is what you want to achieve
+) package a UBERJAR with a starter script so it works without touching an existing JDK installation. If you succeed please tell me how you did it .... :-)
+) package the stuff plus changing the JDK installation
If you use UBERJAR keep in mind that application strt-up is a magnitude slower than a normal application. If this is not acceptable you can use the maven-javaapp-plugin.
Cheers,
Siegfried Goeschl
Incze Lajos wrote:
This is what I understand:
The javax.crypto code in JDK1.4+ (or in the sun jce) requires that the providers be in signed jar files. Signed jar files are difficult to get hold of, as the keypair must be issued by sun. If you can't do that, then you need to replace the jce implementation. I seem to remember that there is an OS project to do this, but can't remember the name. You will need to mess about with -Xbootclasspath anyhow if you do this, which may or may not work with uberjar.
In short, you might be stuck, I think, but I might be wrong.
Cheers
James
The name is: The Legion of the Bouncy Castle, see it at http://www.bouncycastle.org/
incze
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
