com.firefly.net.SSLContextFactory Maven / Gradle / Ivy
package com.firefly.net;
import com.firefly.utils.lang.Pair;
import javax.net.ssl.SSLEngine;
import java.util.List;
public interface SSLContextFactory {
Pair createSSLEngine(boolean clientMode);
Pair createSSLEngine(boolean clientMode, String peerHost, int peerPort);
List getSupportedProtocols();
void setSupportedProtocols(List supportedProtocols);
}