TLSContext

sealed trait TLSContext[F[_]]

Allows creation of TLSSockets.

Companion:
object
Source:
TLSContext.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def clientBuilder(socket: Socket[F]): SocketBuilder[F, [F[_]] =>> TLSSocket[F]]

Creates a TLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a TLSSocket builder in client mode, allowing optional parameters to be configured.

Source:
TLSContext.scala
def serverBuilder(socket: Socket[F]): SocketBuilder[F, [F[_]] =>> TLSSocket[F]]

Creates a TLSSocket builder in server mode, allowing optional parameters to be configured.

Creates a TLSSocket builder in server mode, allowing optional parameters to be configured.

Source:
TLSContext.scala

Concrete methods

def client(socket: Socket[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket builder in client mode.

Creates a TLSSocket builder in client mode.

Source:
TLSContext.scala
def server(socket: Socket[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket builder in server mode.

Creates a TLSSocket builder in server mode.

Source:
TLSContext.scala

Deprecated methods

@deprecated("Use client(socket) or clientBuilder(socket).with(...).build", "3.0.6")
def client(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, TLSSocket[F]]
Deprecated
Source:
TLSContext.scala
@deprecated("Use server(socket) or serverBuilder(socket).with(...).build", "3.0.6")
def server(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, TLSSocket[F]]
Deprecated
Source:
TLSContext.scala

Inherited methods

def dtlsClient(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket builder in client mode.

Creates a DTLSSocket builder in client mode.

Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala
def dtlsClientBuilder(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): SocketBuilder[F, [F[_]] =>> DTLSSocket[F]]

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala
def dtlsServer(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket builder in server mode.

Creates a DTLSSocket builder in server mode.

Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala
def dtlsServerBuilder(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): SocketBuilder[F, [F[_]] =>> DTLSSocket[F]]

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala

Deprecated and Inherited methods

@deprecated("Use dtlsClient(socket, remoteAddress) or dtlsClientBuilder(socket, remoteAddress).with(...).build", "3.0.6")
def dtlsClient(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, DTLSSocket[F]]
Deprecated
Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala
@deprecated("Use dtlsServer(socket, remoteAddress) or dtlsClientBuilder(socket, remoteAddress).with(...).build", "3.0.6")
def dtlsServer(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, DTLSSocket[F]]
Deprecated
Inherited from:
TLSContextPlatform (hidden)
Source:
TLSContextPlatform.scala