final SSLConnectionContext sslCxt = cpConfig.getSSLConnectionContext(); if(sslCxt != null) { TSSLTransportParameters params = new TSSLTransportParameters(sslCxt.getSslProtocol(), sslCxt.getSslCipherSuites().toArray(new String[0])); params.setTrustStore(sslCxt.getSslTruststore(), sslCxt.getSslTruststorePassword());
final SSLConnectionContext sslCxt = cpConfig.getSSLConnectionContext(); if(sslCxt != null) { TSSLTransportParameters params = new TSSLTransportParameters(sslCxt.getSslProtocol(), sslCxt.getSslCipherSuites().toArray(new String[0])); params.setTrustStore(sslCxt.getSslTruststore(), sslCxt.getSslTruststorePassword());