Java Code Examples for

The following are Jave code examples for showing how to use getSupportedCipherSuites() of the class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: incubator-servicecomb-java-chassis   File:   Source Code and License Vote up 5 votes
public static SSLSocketFactory createSSLSocketFactory(SSLOption option, SSLCustom custom) {
  SSLContext context = createSSLContext(option, custom);
  SSLSocketFactory factory = context.getSocketFactory();
  String[] supported = factory.getSupportedCipherSuites();
  String[] eanbled = option.getCiphers().split(",");
  return new SSLSocketFactoryExt(factory, getEnabledCiphers(supported, eanbled),