TLSContext

sealed trait TLSContext[F[_]]

Allows creation of TLSSockets.

Allows creation of TLSSockets.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def client(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): 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.