Sunday, February 12, 2012

Re: [android-developers] Questions on creating X509v3Certificate on Android

On Sun, Feb 12, 2012 at 1:31 PM, Qin Ding <qinding1@gmail.com> wrote:
> I have a need to generate X509v3Certificate on Android device.
> ...
> ...  First the android
> dumps so many "ambicuouse classes" message and discovered old classes and
> block the code message in the catlog.  All these message are related to the
> bouncycastle.  Then there are a few messages related to my code, generally,
> it does not recognize some methods, and static fields....

The Bouncy Castle libs in Android are not part of the public API, and not all
classes are included. Use Spongy Castle to include the full BC provider in your
app and use it to generate certificates, etc. It's exactly the same, only
package names and the provider name have been changed. Details here:

https://github.com/rtyley/spongycastle

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment