You can't create a certificate with the built in Bouncy Castle library. Unfortunately, you can't include the Bouncy Castle JAR in your android app because of a naming conflict.
All hope is not lost. Find and use the Spongy Castle JAR. This is identical to Bouncy Castle but with a different package name. You'll be able to create your certificates with this library. Simon On Mon, Jun 25, 2012 at 7:15 AM, Anton Dyachenko <[email protected]>wrote: > I need similar thing. I have strong busyness requirement - use only built > in crypt provider. I need to create both asymmetric key pair and x509 self > signed certificate based on it. I've already implemented creating > certificate with external Bouncy Castle for test reason, but i need to > implement it using only built in Bouncy Castle. How can i do it? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

