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