Class KeyGeneratorKeystoreProvider

KeyGeneratorKeystoreProvider will create a new XMTP PrivateKeyBundle and persist it to the network This provider should always be specified last in the list of keystoreProviders on client creation, as it will overwrite any XMTP identities already on the network

Implements

Constructors

Methods

Constructors

Methods

  • Parameters

    Returns Promise<Flatten<{
        createAuthToken: ((req: CreateAuthTokenRequest) => Promise<Token>);
        createInvite: ((req: CreateInviteRequest) => Promise<CreateInviteResponse>);
        decryptV1: ((req: DecryptV1Request) => Promise<DecryptResponse>);
        decryptV2: ((req: DecryptV2Request) => Promise<DecryptResponse>);
        encryptV1: ((req: EncryptV1Request) => Promise<EncryptResponse>);
        encryptV2: ((req: EncryptV2Request) => Promise<EncryptResponse>);
        getPrivateKeyBundle: (() => Promise<PrivateKeyBundleV1>);
        getPrivatePreferencesTopicIdentifier: (() => Promise<GetPrivatePreferencesTopicIdentifierResponse>);
        getPublicKeyBundle: (() => Promise<PublicKeyBundle>);
        getRefreshJob: ((req: GetRefreshJobRequest) => Promise<GetRefreshJobResponse>);
        getV1Conversations: (() => Promise<GetConversationsResponse>);
        getV2ConversationHmacKeys: ((req: GetConversationHmacKeysRequest) => Promise<GetConversationHmacKeysResponse>);
        getV2Conversations: (() => Promise<GetConversationsResponse>);
        saveInvites: ((req: SaveInvitesRequest) => Promise<SaveInvitesResponse>);
        saveV1Conversations: ((req: SaveV1ConversationsRequest) => Promise<SaveV1ConversationsResponse>);
        selfDecrypt: ((req: SelfDecryptRequest) => Promise<DecryptResponse>);
        selfEncrypt: ((req: SelfEncryptRequest) => Promise<SelfEncryptResponse>);
        setRefreshJob: ((req: SetRefeshJobRequest) => Promise<SetRefreshJobResponse>);
        signDigest: ((req: SignDigestRequest) => Promise<Signature>);
    } & OtherKeyStoreMethods & PrivatePreferenceKeystoreMethods>>