Options
All
  • Public
  • Public/Protected
  • All
Menu

An unestablished ECIES session.

Hierarchy

  • Ecies

Index

Constructors

  • Create a new, random, unestablished ECIES session.

    This method will use the MATRIX_QR_CODE_LOGIN info for domain separation when creating the session.

    Returns Ecies

Methods

  • Create a [EstablishedEcies] from an initial message encrypted by the other side.

    Parameters

    • initial_message: string

    Returns InboundCreationResult

  • Create an [EstablishedEcies] session using the other side's Curve25519 public key and an initial plaintext.

    After the channel has been established, we can encrypt messages to send to the other side. The other side uses the initial message to establishes the same channel on its side.

    Parameters

    Returns OutboundCreationResult

  • free(): void
  • Returns void

  • Get our [Curve25519PublicKey].

    This public key needs to be sent to the other side to be able to establish an ECIES channel.

    Returns Curve25519PublicKey

Generated using TypeDoc