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

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

  • Returns void

  • Serialize the [SecretsBundle] to a JSON object.

    Returns any

  • Deserialize the [SecretsBundle] from a JSON object.

    Parameters

    • json: any

    Returns SecretsBundle