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.
+ Save this method
Example 1
Project: incubator-servicecomb-java-chassis   File:   View Source Code 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),