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