[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-31 Thread Robert Nekic
I'm using bcprov-jdk16-145 in my app and it works fine. I also see the DexOpt messages in logcat and I get some build warnings from it (Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-31 Thread fba
(Robert Nekic) Have you tried to generate a CSR with BC in your app? I seem to be able to do a lot of different certificate related things, but hit the ClassCastException when I try to generate a CSR. The other route I have looked at is CoDec, but the license listed on SourceForge doesn't match

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-30 Thread joebowbeer
If there's a conflict at runtime then you may not need to include the BC classes yourself. Just add BC to your bootclasspath for building. Seems a bit fragile, though, even if it works... Can you access the needed functionality via the java.security framework? Joe On Aug 27, 3:55 pm, fba

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-30 Thread joebowbeer
By the way, bouncycastle is currently in libcore: http://android.git.kernel.org/?p=platform/libcore.git;a=tree;f=security On Aug 30, 2:49 pm, joebowbeer joe.bowb...@gmail.com wrote: If there's a conflict at runtime then you may not need to include the BC classes yourself.  Just add BC to your

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-30 Thread joebowbeer
By the way, the bouncycastle sources are currently in libcore: http://android.git.kernel.org/?p=platform/libcore.git;a=tree;f=security On Aug 27, 3:55 pm, fba chsoftwo...@gmail.com wrote: Has anyone managed to use Bouncy Castle in one of their apps?   I need to be able to do detailed