Project: titanium
Issue TIMOB-17891: Android: Support TLS versioning on XHR client
We need to support different TLS versions in our XHR. A property ({{tlsVersion}}) will be added to {{Ti.Network.HTTPClient}} for Android. It is currently iOS-only. See https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/network/src/java/ti/modules/titanium/network/TiSocketFactory.java#L25 for where it is ultimately used. http://developer.android.com/reference/javax/net/ssl/SSLContext.html#getInstance(java.lang.String) While TLS 1.0 is not vulnerable to POODLE, we may wish to make the default TLS 1.1: https://securityblog.redhat.com/2014/10/15/poodle-a-ssl3-vulnerability-cve-2014-3566/
Story points: 8