2 * Copyright (c) 2018 ZTE Corporation. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.netconf.client;
10 import io.netty.handler.ssl.SslHandler;
13 public interface SslHandlerFactory {
15 * This factory is used by the TLS client to create SslHandler that will be added
16 * into the channel pipeline when the channel is active.
18 SslHandler createSslHandler();
20 SslHandler createSslHandler(Set<String> allowedKeys);