title: Disable all elliptic curves except secp256 for TLS?
body: <p>Android 5.0 uses OpenSSL and it provides TLS 1.2 support (from the <a href="https://android.googlesource.com/platform/external/openssl/" rel="nofollow">AOSP patches and diffs</a>, it looks like OpenSSL 1.0.0). The Android client offers the elliptic curve zoo (all of them, including prime and binary, and the weak and wounded curves). I'd like to limit the curves to only secp256 for testing.</p>
  
  <p>I'm having trouble locating the setting in classes like <code>SSLSocketFactory</code>.</p>
  
  <p>How do I disable all curves except secp256 used in TLS? </p>