iya-sts
    Preparing search index...
    useStoredKey: (
        realmId: string,
        draft: Draft,
        objectId: string,
    ) => Promise<Outcome> = ...

    Type Declaration

      • (realmId: string, draft: Draft, objectId: string): Promise<Outcome>
      • Loads a stored object's key pair back into the draft and ticks the reuse box, so the next issue certifies that key.

        Parameters

        • realmId: string

          the realm

        • draft: Draft

          the draft

        • objectId: string

          the stored object's id

        Returns Promise<Outcome>

        { ok: true, draft, why }, or { ok: false, errors } when the object is missing or has no private key here