javax.crypto alone is not enough, unless he wants to do a lot of extra
work himself setting up the certificate fields and signing it. How to
do all this with other classes in the Java security API is described
in some detail at 
http://download.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#SSLTLS.

I didn't see any classes in their that are missing from Android Java,
but I have to admit I did not check that thoroughly. I did at least
check that MessageDigest is supported: it is in the android.security
package in Android Java.

On Apr 26, 1:32 pm, Mark Murphy <[email protected]> wrote:
> On Tue, Apr 26, 2011 at 4:22 PM, himanshu jain <[email protected]> wrote:
> > Thats true i am using BC 145 earlier and now trying to use 146 , but
> > if i stick to javax.crypto then how would i generate self signed
> > certificate?.
>
> I haven't used javax.crypto much, personally.
>
> > Can we come to know what all classes from BC included in the android
> > firmware ?.
>
> :: shrug ::
>
> You are welcome to putter throughhttp://source.android.com, but the
> mix of classes may change.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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

Reply via email to