views:

446

answers:

1

SSLContext context = SSLContext.getInstance("SSL");

The above line results in the exception:

java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

I'm using Android 2.0 SDK and when specifying TLS, it is accepted.

How come I get the exception? Doesn't Android support SSL?

A: 

If you are using the default Harmony JSSE, "TLS" is the only protocol it supports, which is the same as SSLv3.

You have to find another JSSE if you need to use an older version of SSL.

ZZ Coder