SslContextModule

class Object
trait Matchable
class Any

Value members

Concrete methods

def make[F[_]](config: Config, withReference: Boolean)(using evidence$1: Sync[F]): F[SSLContext]

Initializes javax.net.ssl.SSLContext from the provided config.

Initializes javax.net.ssl.SSLContext from the provided config.

Value parameters:
withReference

Whether we should use reference config of "ssl-config" library as well.

def makeIfEnabled[F[_]](config: Config, withReference: Boolean)(using evidence$2: Sync[F]): F[Option[SSLContext]]

Initializes javax.net.ssl.SSLContext from the provided config if it is enabled.

Initializes javax.net.ssl.SSLContext from the provided config if it is enabled.

Expects a boolean value enabled at the root of the provided com.typesafe.config.Config which determines whether to initialize the context or not.

Value parameters:
withReference

Whether we should use reference config of "ssl-config" library as well.