com.firefly.net.tcp.secure.conscrypt.DefaultConscryptSSLContextFactory Maven / Gradle / Ivy
package com.firefly.net.tcp.secure.conscrypt;
import javax.net.ssl.SSLContext;
/**
* @author Pengtao Qiu
*/
public class DefaultConscryptSSLContextFactory extends AbstractConscryptSSLContextFactory {
@Override
public SSLContext getSSLContext() {
try {
return getSSLContextWithManager(null, null, null);
} catch (Throwable e) {
log.error("get SSL context error", e);
return null;
}
}
}