Steve Loughran wrote:
Gad Abraham wrote:Hi, I'm trying to run a class which uses Bouncycastle cryptography. It runs fine when called directly from commandline java, however it won't run from within an Ant <java> task: [java] java.io.IOException: exception encrypting data - java.security.NoSuchProviderException: JCE cannot authenticate the provider BC [java] atorg.bouncycastle.jce.provider.JDKPKCS12KeyStore.wrapKey(JDKPKCS12KeyStore.java:599)[java] atorg.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineStore(JDKPKCS12KeyStore.java:1131)[java] at java.security.KeyStore.store(KeyStore.java:620) <snip>Does this go away if you set fork="true" to run the code in a new process?
Hi Steve, It does indeed. - Gad --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
