Reputation: 9
Per Android Developer and Updating Your Security Provider to Protect Against SSL Exploits, the security provider in Android 4.x OS should be upgraded to avoid known vulnerabilities. Using the ProviderInstaller
class of Google Play services, we can upgrade the same.
When we try to access the OpenSSLSocketImpl
class as shown in below code snippet, it throws the class not found exception.
Class.forName("com.google.android.gms.org.conscrypt.OpenSSLSocketImpl");
Why is OpenSSLSocketImpl
causing a class not found exception?
What else should we perform to use the latest OpenSSL library?
Upvotes: 0
Views: 876
Reputation: 52946
The implementation classes are not part of the API, so you shouldn't reference them directly.
Upvotes: 3