SSLUtils

object SSLUtils

Utility class for SSL related tasks.

Functions

Link copied to clipboard
fun createSslContextFactory(sslFactory: SSLFactory?): SslContextFactory.Server

Helper method to create a SslContextFactory from the SSLFactory. This method is used to create the SSLContextFactory for the Jetty server as well as configure the resulting factory.

Link copied to clipboard
fun getSslFactory(config: SslConfig): SSLFactory
fun getSslFactory(config: SslConfig, reloading: Boolean): SSLFactory

Helper method to create a SSLFactory from the given config.