Options
All
  • Public
  • Public/Protected
  • All
Menu

Struct containing the bundle of secrets to fully activate a new device for end-to-end encryption.

Hierarchy

  • SecretsBundle

Index

Constructors

Properties

backupBundle: undefined | BackupSecretsBundle

The bundle of the backup decryption key and backup version if any.

masterKey: string

The seed of the master key encoded as unpadded base64.

selfSigningKey: string

The seed of the self signing key encoded as unpadded base64.

userSigningKey: string

The seed of the user signing key encoded as unpadded base64.

Methods

  • free(): void
  • Returns void

  • to_json(): any
  • Serialize the [SecretsBundle] to a JSON object.

    Returns any

  • Deserialize the [SecretsBundle] from a JSON object.

    Parameters

    • json: any

    Returns SecretsBundle

Generated using TypeDoc