TLSContext

sealed trait TLSContext

Allows creation of TLSSockets.

Allows creation of TLSSockets.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def client[F[_]](socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]])(`evidence$1`: Concurrent[F], `evidence$2`: ContextShift[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket in client mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

Creates a TLSSocket in client mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

def dtlsClient[F[_]](socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]])(`evidence$5`: Concurrent[F], `evidence$6`: ContextShift[F]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket in client mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

Creates a DTLSSocket in client mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

def dtlsServer[F[_]](socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]])(`evidence$7`: Concurrent[F], `evidence$8`: ContextShift[F]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket in server mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

Creates a DTLSSocket in server mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

def server[F[_]](socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]])(`evidence$3`: Concurrent[F], `evidence$4`: ContextShift[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket in server mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.

Creates a TLSSocket in server mode, using the supplied parameters. Internal debug logging of the session can be enabled by passing a logger.