Hi all, I've got a question regarding bc in android, would be glad if anyone could help.
What I am trying to do is to generate KeyPair using KeyPairGenerator (ECDSA) in android, like .... KeyPairGenerator g = KeyPairGenerator.getInstance("ECDSA") or using bouncy castle KeyPairGenerator g = KeyPairGenerator.getInstance("ECDSA", "BC") ... but apparently the bouncy castle included in android is "stripped", so it has support for RSA , DH and others but not for ECDSA. So I downloaded Bouncy Castle API and added as reference, in a hope I could register this as my "BC" provider (first removing the already registered "BC" provider). But the problem is that the namespaces and classnames are the same in android.jar and the jar I downloaded from the legion of bouncy castle site, so when I add my "BC" provider it finds the one contained in android.jar , thus leading to no result //provider comes from the android.jar and not bceprovider.jar //so no ECDSA support Provider bcProv = new org.bouncycastle.jce.provider.BouncyCastleProvider(); Security.addProvider(bcProv); Is there any way I could overcome this problem ? Any help would be appreciated. Ray --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---