Package

spinoco.fs2.crypto

internal

Permalink

package internal

Visibility
  1. Public
  2. All

Type Members

  1. case class HandshakeResult(send: Chunk[Byte], closed: Boolean, finished: Boolean) extends Product with Serializable

    Permalink

    During handshaking process, signals result of interim handshake operation

    During handshaking process, signals result of interim handshake operation

    send

    Bytes to send to remote party

    closed

    Indicates ssl engine was closed

    finished

    Indicates ssl engine was closed.

  2. trait SSLTaskRunner[F[_]] extends Serializable

    Permalink
    Attributes
    protected[spinoco.fs2.crypto]
  3. case class UnWrapResult(out: Chunk[Byte], closed: Boolean, needWrap: Boolean, finished: Boolean, handshaking: Boolean) extends Product with Serializable

    Permalink

    Result of unwrap operation.

    Result of unwrap operation.

    out

    Data to be sent to application

    closed

    The ssl engine is closed

    needWrap

    The next handshake operation needs wrap. This effectivelly shall acquire lock on wrap side and perform wrapHandshake / unwrap until handshake is finalized.

    finished

    Signals finalization of the handshake.

    handshaking

    The ssl is currently handshaking

  4. case class WrapResult[F[_]](awaitAfterSend: Option[F[Unit]], out: Chunk[Byte], closed: Boolean) extends Product with Serializable

    Permalink

    Result of wrap operation

    Result of wrap operation

    awaitAfterSend

    If nonempty, shall be used to await after out was sent to network

    out

    Data send to network

    closed

    If true, the wrap operation was not successfull because ssl engine is closed.

Value Members

  1. object SSLTaskRunner extends Serializable

    Permalink
    Attributes
    protected[spinoco.fs2.crypto]
  2. object util

    Permalink

Ungrouped