Package com.linkedin.alpini.base.ssl
Interface SslFactory
-
- All Known Subinterfaces:
SSLEngineFactory
- All Known Implementing Classes:
SSLEngineFactoryImpl
public interface SslFactorySSL Factory interface to get common SSL objects. All SSL factory implementations should implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLContextgetSSLContext()javax.net.ssl.SSLParametersgetSSLParameters()booleanisSslEnabled()
-
-
-
Method Detail
-
getSSLContext
javax.net.ssl.SSLContext getSSLContext()
- Returns:
- an
SSLContextobject - See Also:
SSLContext
-
getSSLParameters
javax.net.ssl.SSLParameters getSSLParameters()
- Returns:
- an
SSLParametersobject - See Also:
SSLParameters
-
isSslEnabled
boolean isSslEnabled()
- Returns:
- Whether the implementation enforces SSL
-
-