Help Please this is an SOS

Hai to all

i have been working on Cryptography using Symmetric

PBE techniqure with "PBEWithMD5AndDES" as the encryption engine

when i went for upgrading using cryptix

i nstalled cryptix and when i ran my previously built program

i got an error like this:

Exception in thread "main" java.lang.ExceptionInInitializerError

at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])

at CopyProtector.<init>(CopyProtector.java:20)

at ComicDecryptor.decrypt(ComicDecryptor.java:21)

at RssComicProtector.callDecrypt(RssComicProtector.java:58)

at RssComicProtector.main(RssComicProtector.java:112)

Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.util.jar.JarException: file:d:/jdk1.4/jre/lib/security/US_export_policy.jar is not signed by a trusted signer.

at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])

... 5 more

kindly help me in solving this problem

--

balki

[1031 byte] By [balki_27] at [2007-9-26 7:39:06]
# 1

The Cryptix library isn't signed by Sun, so it throw this exception.

Don't know which JDK you use, but if it is the latest (ie the 1.4 beta)

then you have not a lot of margin, trying to use the cryptix library.

All of these problems are only due to the US Export policie about Cryptography.

One solution, but i don't know if it will work, is to only use the cryptix library and

not load the SunJCE provider (statically and dynamically).

Search in this forum about this problem. I believe someone has

found a solution.

marc_huhardeaux at 2007-7-1 17:42:41 > top of Java-index,Security,Cryptography...