Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
InMemoryKeystore
Class InMemoryKeystore
Hierarchy
InMemoryKeystore
Implements
KeystoreInterface
Index
Constructors
constructor
Accessors
wallet
Address
Methods
create
Auth
Token
create
Invite
decrypt
V1
decrypt
V2
encrypt
V1
encrypt
V2
get
Account
Address
get
Private
Key
Bundle
get
Private
Preferences
Topic
Identifier
get
Public
Key
Bundle
get
Refresh
Job
get
V1
Conversations
get
V2
Conversations
lookup
Topic
save
Invites
save
V1
Conversations
self
Decrypt
self
Encrypt
set
Refresh
Job
sign
Digest
create
Constructors
constructor
new
In
Memory
Keystore
(
keys
,
v1Store
,
v2Store
,
persistence
)
:
InMemoryKeystore
Parameters
keys
:
PrivateKeyBundleV1
v1Store
:
V1Store
v2Store
:
V2Store
persistence
:
Persistence
Returns
InMemoryKeystore
Accessors
wallet
Address
get
walletAddress
(
)
:
string
Returns
string
Methods
create
Auth
Token
create
Auth
Token
(
__namedParameters
)
:
Promise
<
Token
>
Parameters
__namedParameters
:
CreateAuthTokenRequest
Returns
Promise
<
Token
>
create
Invite
create
Invite
(
req
)
:
Promise
<
CreateInviteResponse
>
Parameters
req
:
CreateInviteRequest
Returns
Promise
<
CreateInviteResponse
>
decrypt
V1
decrypt
V1
(
req
)
:
Promise
<
DecryptResponse
>
Parameters
req
:
DecryptV1Request
Returns
Promise
<
DecryptResponse
>
decrypt
V2
decrypt
V2
(
req
)
:
Promise
<
DecryptResponse
>
Parameters
req
:
DecryptV2Request
Returns
Promise
<
DecryptResponse
>
encrypt
V1
encrypt
V1
(
req
)
:
Promise
<
EncryptResponse
>
Parameters
req
:
EncryptV1Request
Returns
Promise
<
EncryptResponse
>
encrypt
V2
encrypt
V2
(
req
)
:
Promise
<
EncryptResponse
>
Parameters
req
:
EncryptV2Request
Returns
Promise
<
EncryptResponse
>
get
Account
Address
get
Account
Address
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Private
Key
Bundle
get
Private
Key
Bundle
(
)
:
Promise
<
PrivateKeyBundleV1
>
Returns
Promise
<
PrivateKeyBundleV1
>
get
Private
Preferences
Topic
Identifier
get
Private
Preferences
Topic
Identifier
(
)
:
Promise
<
GetPrivatePreferencesTopicIdentifierResponse
>
Returns
Promise
<
GetPrivatePreferencesTopicIdentifierResponse
>
get
Public
Key
Bundle
get
Public
Key
Bundle
(
)
:
Promise
<
PublicKeyBundle
>
Returns
Promise
<
PublicKeyBundle
>
get
Refresh
Job
get
Refresh
Job
(
__namedParameters
)
:
Promise
<
GetRefreshJobResponse
>
Parameters
__namedParameters
:
GetRefreshJobRequest
Returns
Promise
<
GetRefreshJobResponse
>
get
V1
Conversations
get
V1
Conversations
(
)
:
Promise
<
GetConversationsResponse
>
Returns
Promise
<
GetConversationsResponse
>
get
V2
Conversations
get
V2
Conversations
(
)
:
Promise
<
GetConversationsResponse
>
Returns
Promise
<
GetConversationsResponse
>
lookup
Topic
lookup
Topic
(
topic
)
:
undefined
|
TopicMap_TopicData
Parameters
topic
:
string
Returns
undefined
|
TopicMap_TopicData
save
Invites
save
Invites
(
req
)
:
Promise
<
SaveInvitesResponse
>
Parameters
req
:
SaveInvitesRequest
Returns
Promise
<
SaveInvitesResponse
>
save
V1
Conversations
save
V1
Conversations
(
__namedParameters
)
:
Promise
<
SaveV1ConversationsResponse
>
Parameters
__namedParameters
:
SaveV1ConversationsRequest
Returns
Promise
<
SaveV1ConversationsResponse
>
self
Decrypt
self
Decrypt
(
req
)
:
Promise
<
DecryptResponse
>
Parameters
req
:
SelfDecryptRequest
Returns
Promise
<
DecryptResponse
>
self
Encrypt
self
Encrypt
(
req
)
:
Promise
<
SelfEncryptResponse
>
Parameters
req
:
SelfEncryptRequest
Returns
Promise
<
SelfEncryptResponse
>
set
Refresh
Job
set
Refresh
Job
(
__namedParameters
)
:
Promise
<
SetRefreshJobResponse
>
Parameters
__namedParameters
:
SetRefeshJobRequest
Returns
Promise
<
SetRefreshJobResponse
>
sign
Digest
sign
Digest
(
req
)
:
Promise
<
Signature
>
Parameters
req
:
SignDigestRequest
Returns
Promise
<
Signature
>
Static
create
create
(
keys
,
persistence
)
:
Promise
<
InMemoryKeystore
>
Parameters
keys
:
PrivateKeyBundleV1
persistence
:
Persistence
Returns
Promise
<
InMemoryKeystore
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
wallet
Address
create
Auth
Token
create
Invite
decrypt
V1
decrypt
V2
encrypt
V1
encrypt
V2
get
Account
Address
get
Private
Key
Bundle
get
Private
Preferences
Topic
Identifier
get
Public
Key
Bundle
get
Refresh
Job
get
V1
Conversations
get
V2
Conversations
lookup
Topic
save
Invites
save
V1
Conversations
self
Decrypt
self
Encrypt
set
Refresh
Job
sign
Digest
create
@xmtp/xmtp-js
AuthCache
BrowserStoragePersistence
Ciphertext
Client
CompositeCodec
ConsentListEntry
ContentTypeId
ConversationV1
ConversationV2
Conversations
DecodedMessage
EncryptedPersistence
HttpApiClient
InMemoryKeystore
InMemoryPersistence
KeyGeneratorKeystoreProvider
LocalAuthenticator
MessageV1
MessageV2
NetworkKeystoreProvider
PrefixedPersistence
Loading...
Generated using
TypeDoc