SslContextModule
object SslContextModule
Value members
Concrete methods
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.