Options
All
  • Public
  • Public/Protected
  • All
Menu

An enum over the different key types a device can have.

Currently devices have a curve25519 and ed25519 keypair. The keys transport format is a base64 encoded string, any unknown key type will be left as such a string.

Hierarchy

  • DeviceKey

Index

Constructors

Properties

curve25519: undefined | Curve25519PublicKey

Get the value associated to the Curve25519 device key name.

ed25519: undefined | Ed25519PublicKey

Get the value associated to the Ed25519 device key name.

Get the name of the device key.

unknown: undefined | string

Get the value associated to the Unknown device key name.

Methods

  • free(): void
  • Returns void

  • toBase64(): string
  • Convert the DeviceKey into a base64 encoded string.

    Returns string

Generated using TypeDoc