Preparing search index...
The search index is not available
webcrypto-local
webcrypto-local
client/src
MemoryStorage
Class MemoryStorage
Hierarchy (
view full
)
RatchetStorage
MemoryStorage
Index
Constructors
constructor
Properties
identity?
remote
Identities
sessions
Methods
load
Identity
load
Remote
Identity
load
Session
save
Identity
save
Remote
Identity
save
Session
Constructors
constructor
new
Memory
Storage
(
)
:
MemoryStorage
Returns
MemoryStorage
Properties
Private
Optional
identity
identity
?:
Identity
Private
remote
Identities
remote
Identities
:
{
[
key
:
string
]
:
ratchet.RemoteIdentity
;
}
= {}
Private
sessions
sessions
:
{
[
key
:
string
]
:
ratchet.AsymmetricRatchet
;
}
= {}
Methods
load
Identity
load
Identity
(
)
:
Promise
<
null
|
Identity
>
Returns
Promise
<
null
|
Identity
>
load
Remote
Identity
load
Remote
Identity
(
key
)
:
Promise
<
null
|
RemoteIdentity
>
Parameters
key
:
string
Returns
Promise
<
null
|
RemoteIdentity
>
load
Session
load
Session
(
key
)
:
Promise
<
null
|
AsymmetricRatchet
>
Parameters
key
:
string
Returns
Promise
<
null
|
AsymmetricRatchet
>
save
Identity
save
Identity
(
value
)
:
Promise
<
void
>
Parameters
value
:
Identity
Returns
Promise
<
void
>
save
Remote
Identity
save
Remote
Identity
(
key
,
value
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
RemoteIdentity
Returns
Promise
<
void
>
save
Session
save
Session
(
key
,
value
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
AsymmetricRatchet
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
identity
remote
Identities
sessions
Methods
load
Identity
load
Remote
Identity
load
Session
save
Identity
save
Remote
Identity
save
Session
webcrypto-local
Loading...