ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gad Abraham <...@e1c.net>
Subject Re: ant.jar has unsigned entries
Date Fri, 05 Aug 2005 11:31:26 GMT
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]     at
>> org.bouncycastle.jce.provider.JDKPKCS12KeyStore.wrapKey(JDKPKCS12KeyStore.java:599)

>>
>>      [java]     at
>> org.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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message