import javax.net.ssl.SSLEngine;
-import org.opendaylight.openflowjava.protocol.impl.core.SslContextFactory;
-
import com.google.common.util.concurrent.SettableFuture;
/** Initializes secured {@link SimpleClient} pipeline
public void initChannel(SocketChannel ch) throws Exception {
ChannelPipeline pipeline = ch.pipeline();
if (secured) {
- SSLEngine engine = SslContextFactory.getClientContext()
+ SSLEngine engine = ClientSslContextFactory.getClientContext()
.createSSLEngine();
engine.setUseClientMode(true);
pipeline.addLast("ssl", new SslHandler(engine));