iya-sts
    Preparing search index...

    Variable checkAlgorithm

    checkAlgorithm: (alg: any) => any = ...

    Type Declaration

      • (alg: any): any
      • Checks an algorithm is one an account key may use; badSignatureAlgorithm otherwise.

        Parameters

        • alg: any

          the header's alg

        Returns any

        { ok } or a refusal listing the algorithms