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.

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

  • Returns void

  • Convert the DeviceKey into a base64 encoded string.

    Returns string