Skip to content

GeneratedSecretStorageKey

Defined in: src/crypto-api/index.ts:1257

Recovery key created by CryptoApi#createRecoveryKeyFromPassphrase or CreateSecretStorageOpts#createSecretStorageKey.

optional encodedPrivateKey?: string

Defined in: src/crypto-api/index.ts:1267

The generated key, encoded for display to the user per https://spec.matrix.org/v1.7/client-server-api/#key-representation.


optional keyInfo?: object

Defined in: src/crypto-api/index.ts:1258

optional name?: string

Optional human-readable name for the key, to be stored in account_data.

optional passphrase?: PassphraseInfo

If the key was derived from a passphrase, information (algorithm, salt, etc) on that derivation.


privateKey: Uint8Array<ArrayBuffer>

Defined in: src/crypto-api/index.ts:1265

The raw generated private key.