title: How to set SSLParameters to SSLContext
body: <p>I have created a SSLContext for client. I want to set SSLParametes to SSLContext to force ciphersuites and enable only TLS v1.2 and TLS v1.3. I am not able to find any documentation for that.</p>
  <pre><code>final SSLContext sslContext = SSLContext.getInstance(&quot;TLS&quot;);
  sslContext.init(keyManagers, trustManagers, null);
  
  SSLParameters parameters = new SSLParameters();
  parameters.setCipherSuites(new String[] {});
  parameters.setProtocols(new String[] {&quot;TLSv1.2&quot;, &quot;TLSv1.3&quot;});
  </code></pre>