code: protected SSLParameters engineGetSupportedSSLParameters() {
          SSLSocket socket = getDefaultSocket();
          SSLParameters params = new SSLParameters();
          params.setCipherSuites(socket.getSupportedCipherSuites());
          params.setProtocols(socket.getSupportedProtocols());
          return params;
      }
docs: Returns a copy of the SSLParameters indicating the maximum supported
  settings for this SSL context.
  
  <p>The parameters will always have the ciphersuite and protocols
  arrays set to non-null values.
  
  <p>The default implementation obtains the parameters from an
  SSLSocket created by calling the
  {@linkplain javax.net.SocketFactory#createSocket
  SocketFactory.createSocket()} method of this context's SocketFactory.
  
  @return a copy of the SSLParameters object with the maximum supported
  settings
  @throws UnsupportedOperationException if the supported SSL parameters
  could not be obtained.
  
  @since 1.6