I want to write an extend of the class SSLCertificateSocketFactory. First I search for the source code of the class and found it.
After all I want to overwrite the method private SSLSocketFactory makeSocketFactory(TrustManager[] trustManagers).
A look into the method shows up that I need the class SSLContextImpl. It seems to be in the package org.apache.harmony.xnet.provider.jsse.SSLContextImpl.
But there isn’t any package org.apache.harmony.*.
I am confused because the class SSLCertificateSocketFactory needs it.
If the package is not included in the SDK and I have to get it from http://www.apache.org?
Do you have the android source code? If yes then look for these classes somewhere in the /dalvik/system or security directory, since right now I didn’t remember the actual path. If you don’t have the source code download it from Android Source code