Move netconf{-client,impl,util} to protocol/
[netconf.git] / protocol / netconf-client / src / main / java / org / opendaylight / netconf / client / SslHandlerFactory.java
1 /*
2  * Copyright (c) 2018 ZTE Corporation. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.client;
9
10 import io.netty.handler.ssl.SslHandler;
11 import java.util.Set;
12
13 public interface SslHandlerFactory {
14     /**
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.
17      */
18     SslHandler createSslHandler();
19
20     SslHandler createSslHandler(Set<String> allowedKeys);
21 }