Package net.officefloor.server.ssl
Interface SslContextSource
-
- All Known Implementing Classes:
OfficeFloorDefaultSslContextSource
public interface SslContextSource
Source forSSLContext
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLContext
createSslContext(SourceContext context)
Creates a newSSLContext
.
-
-
-
Method Detail
-
createSslContext
javax.net.ssl.SSLContext createSslContext(SourceContext context) throws java.lang.Exception
Creates a newSSLContext
.- Parameters:
context
-SourceContext
to configure theSSLContext
.- Returns:
- New
SSLContext
ready for use. - Throws:
java.lang.Exception
- If fails to create theSSLContext
(possibly because a protocol or cipher is not supported).
-
-