Is There A Smaller Version Of The Bouncycastleprovider On Android?
I'm developing an android honeycomb app that requires the use of the BouncyCastle library (bcprov-jdk15-143.jar). I've included this jar in my libs folder and added it to my build
Solution 1:
I need to wait for the packaging to finish
More importantly, it may not work. Bouncy Castle is part of Android's implementation of javax.crypto
-- people have reported all sorts of trouble trying to add BC as a JAR to their projects.
If you can stick with the javax.crypto
interface, I would do that and avoid BC entirely. If not, try Spongy Castle, which is a repackaging of BC into a separate Java package to avoid VM issues. If you wanted, you could perhaps find ways to get rid of stuff you didn't need from your copy of Spongy Castle -- it is substantially larger than the BC JAR you cite, for some reason.
Post a Comment for "Is There A Smaller Version Of The Bouncycastleprovider On Android?"