gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Crypto] How to replace Sun JCE+BouncyCastle with GNU JCE+Bouncy


From: Wes Biggs
Subject: Re: [GNU Crypto] How to replace Sun JCE+BouncyCastle with GNU JCE+BouncyCastle?
Date: Tue, 15 Mar 2005 16:21:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

Hi Kevin,

It sounds like the GNU crypto JAR is sealed. You may be able to build your own, unsealed, JAR and accomplish what you'd like, though I can't vouch for it. You might try taking the files out of both JARs and combining them into a single one.

Wes

Kevin Smith wrote:

Greetings all!

We have an app that currently uses BouncyCastle through the standard Sun JCE interface. We would like to switch to gnu-crypto, but we need some algorithms that the gnu-crypto JCE provider doesn't support, so we still want to use BouncyCastle as the provider.

I have put the gnu crypto jars (javax-crypto and javax-security) earlier in the classpath than the JRE versions. I have tried it with and without gnu-crypto in the classpath. The app builds, but when I try to run it I get this exception:

java.lang.SecurityException: class "org.bouncycastle.asn1.ASN1EncodableVector"'s signer information does not match signer information of other classes in the same package

Is it a known limitation that only the gnu-crypto JCE provider can be used at this time? If so, that should probably be added to the docs. Otherwise, any suggestions or things I should try?

I'm not subscribed to the list yet, so please CC me with any replies.

Thanks much,

Kevin


_______________________________________________
gnu-crypto-discuss mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnu-crypto-discuss






reply via email to

[Prev in Thread] Current Thread [Next in Thread]