GeneratedSecretStorageKey
Defined in: src/crypto-api/index.ts:1257
Recovery key created by CryptoApi#createRecoveryKeyFromPassphrase or CreateSecretStorageOpts#createSecretStorageKey.
Properties
Section titled “Properties”encodedPrivateKey?
Section titled “encodedPrivateKey?”
optionalencodedPrivateKey?: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.
keyInfo?
Section titled “keyInfo?”
optionalkeyInfo?:object
Defined in: src/crypto-api/index.ts:1258
optionalname?:string
Optional human-readable name for the key, to be stored in account_data.
passphrase?
Section titled “passphrase?”
optionalpassphrase?:PassphraseInfo
If the key was derived from a passphrase, information (algorithm, salt, etc) on that derivation.
privateKey
Section titled “privateKey”privateKey:
Uint8Array<ArrayBuffer>
Defined in: src/crypto-api/index.ts:1265
The raw generated private key.