[android-developers] SSLCertificateSocketFactory SNI support is broken?

2015-10-02 Thread Kaiduan Xie
Hi, It looks like SSLCertificateSocketFactory.setHostname is broken on Marshmallow, Lollipop. public void sslTest() { Thread thread = new Thread(new Runnable() { public void run() { SSLCertificateSocketFactory factory = (SSLCertificateSocketFactory) SSL

Re: [android-developers] Re: P2P Library For Android ?

2014-10-24 Thread Kaiduan Xie
Google webrtc project has all the stuff you want. For android, you can look the following link, https://code.google.com/p/webrtc/source/browse/trunk/talk/examples/android/README /Kaiduan On Fri, Oct 24, 2014 at 9:40 AM, andrew_esh wrote: > Android KitKat has a fairly stable version of wpa_suppl

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
This solution works like a charm. Thank you very much Harri. /Kaiduan On Mon, Jun 18, 2012 at 3:54 PM, Harri Smått wrote: > On Jun 18, 2012, at 10:21 PM, Kaiduan Xie wrote: >> I need to add SNI (Server Name Indication) value to the SSLSocket like >> HttpsURLConnection does. &

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
I need to add SNI (Server Name Indication) value to the SSLSocket like HttpsURLConnection does. And the traffic over SSL connection is not HTTP. On Mon, Jun 18, 2012 at 3:15 PM, Harri Smått wrote: > > On Jun 18, 2012, at 9:25 PM, Kaiduan Xie wrote: >> The following import caus

[android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
Hi, The following import caused the above Eclipse error, import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl; The directory of jsse is located in the following directory, D:\Android\android-sdk\sources\android-15\org\apache\harmony\xnet\provider\jsse How to resolve the above issue?

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-15 Thread Kaiduan Xie
/OpenSSLSocketImpl.java http://source-android.frandroid.com/libcore/luni/src/main/java/libcore/net/http/HttpConnection.java Cheers, /Kaiduan On Fri, Jun 15, 2012 at 8:47 PM, Nikolay Elenkov wrote: > On Sat, Jun 16, 2012 at 5:16 AM, Kaiduan Xie wrote: >> Where is the implementation of HttpsURLC

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-15 Thread Kaiduan Xie
, 2012 at 12:14 PM, Kaiduan Xie wrote: >> Nikolay, >> >> Thank you for quick response. >> >> Does it support for a non HTTPS connection? > > What is a 'non HTTPS' connection? SNI is for SSL. > If you are using HTTP all you need is to set the Host he

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Kaiduan Xie
Nikolay, Thank you for quick response. Does it support for a non HTTPS connection? I would like to have an API to set the SNI value while starting handshake. /Kaiduan On Thu, Jun 14, 2012 at 10:59 PM, Nikolay Elenkov wrote: > On Fri, Jun 15, 2012 at 11:50 AM, Kaiduan Xie wrote: &g

[android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Kaiduan Xie
Hi, For client side, does SSL package of Android SDK support SSL SNI extension? If yest, what is the API to set SNI value when starting SSL handshake to a server. If not what is the plan? Thanks, /Kaiduan -- You received this message because you are subscribed to the Google Groups "Android Dev