UMIS SDK
    Preparing search index...

    Interface KeyStore

    The signing keys of the mobile app, as createKeyStore makes it: in secure hardware where a development build has it, else in the secret store of the operating system.

    interface KeyStore {
        create(
            alias: string,
            o: { prompt?: string; requireBiometric: boolean },
        ): Promise<ManagedSigner>;
        get(alias: string): Promise<ManagedSigner | null>;
        remove(alias: string): Promise<void>;
    }
    Index
    • Makes a new key under alias. An alias that is already taken is refused: a key is never replaced.

      Parameters

      • alias: string
      • o: { prompt?: string; requireBiometric: boolean }

      Returns Promise<ManagedSigner>

    • Deletes the key. Removing an alias that does not exist is not an error.

      Parameters

      • alias: string

      Returns Promise<void>