Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InMemoryKeystore

Hierarchy

  • InMemoryKeystore

Implements

Index

Constructors

  • new InMemoryKeystore(keys: PrivateKeyBundleV1, inviteStore: default): InMemoryKeystore

Methods

  • createAuthToken(__namedParameters: CreateAuthTokenRequest): Promise<Token>
  • createInvite(req: CreateInviteRequest): Promise<CreateInviteResponse>
  • Create a sealed/encrypted invite and store the Topic keys in the Keystore for later use. The returned invite payload must be sent to the network for the other party to be able to communicate.

    Parameters

    • req: CreateInviteRequest

    Returns Promise<CreateInviteResponse>

  • decryptV1(req: DecryptV1Request): Promise<DecryptResponse>
  • decryptV2(req: DecryptV2Request): Promise<DecryptResponse>
  • encryptV1(req: EncryptV1Request): Promise<EncryptResponse>
  • encryptV2(req: EncryptV2Request): Promise<EncryptResponse>
  • getAccountAddress(): Promise<string>
  • getPrivateKeyBundle(): Promise<PrivateKeyBundleV1>
  • getV2Conversations(): Promise<ConversationReference[]>
  • lookupTopic(topic: string): undefined | WithoutUndefined<TopicMap_TopicData>
  • saveInvites(req: SaveInvitesRequest): Promise<SaveInvitesResponse>
  • signDigest(req: SignDigestRequest): Promise<Signature>

Generated using TypeDoc