Preparing search index...
The search index is not available
matrix-js-sdk
matrix-js-sdk
matrix
<internal>
BackupAlgorithm
Interface BackupAlgorithm
interface
BackupAlgorithm
{
authData
:
ISigned
&
(
Curve25519AuthData
|
Aes256AuthData
)
;
untrusted
:
boolean
;
decryptSessions
(
ciphertexts
:
Record
<
string
,
KeyBackupSession
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
,
>
,
>
,
)
:
Promise
<
IMegolmSessionData
[]
>
;
encryptSession
(
data
:
Record
<
string
,
any
>
,
)
:
Promise
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
>
;
free
()
:
void
;
keyMatches
(
key
:
ArrayLike
<
number
>
)
:
Promise
<
boolean
>
;
}
Index
Properties
auth
Data
untrusted
Methods
decrypt
Sessions
encrypt
Session
free
key
Matches
Properties
auth
Data
authData
:
ISigned
&
(
Curve25519AuthData
|
Aes256AuthData
)
untrusted
untrusted
:
boolean
Methods
decrypt
Sessions
decryptSessions
(
ciphertexts
:
Record
<
string
,
KeyBackupSession
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
>
,
>
,
)
:
Promise
<
IMegolmSessionData
[]
>
Parameters
ciphertexts
:
Record
<
string
,
KeyBackupSession
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
>
,
>
Returns
Promise
<
IMegolmSessionData
[]
>
encrypt
Session
encryptSession
(
data
:
Record
<
string
,
any
>
,
)
:
Promise
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
>
Parameters
data
:
Record
<
string
,
any
>
Returns
Promise
<
AESEncryptedSecretStoragePayload
|
Curve25519SessionData
>
free
free
()
:
void
Returns
void
key
Matches
keyMatches
(
key
:
ArrayLike
<
number
>
)
:
Promise
<
boolean
>
Parameters
key
:
ArrayLike
<
number
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
auth
Data
untrusted
Methods
decrypt
Sessions
encrypt
Session
free
key
Matches
matrix-js-sdk
Loading...