iya-sts
    Preparing search index...
    generateKeys: (draft: Draft, which?: string) => Promise<Outcome> = ...

    Type Declaration

      • (draft: Draft, which?: string): Promise<Outcome>
      • Generates a key pair into the draft's key boxes without issuing anything.

        Parameters

        • draft: Draft

          the draft

        • Optionalwhich: string

          'alt' for the hybrid alternative pair; the subject pair otherwise

        Returns Promise<Outcome>

        { ok: true, draft, algorithm, why }, or { ok: false, errors } for an unknown algorithm or a failed generation