iya-sts
    Preparing search index...

    Which JWS algorithms OpenID4VCI and OpenID4VP offer, sign with and accept, and the wallet compatibility mode (oid4vc.walletCompatibility).

    A static utility class; it holds no state.

    Index
    • The refusal for a signature PRESENTED to this realm with an algorithm the mode turns off, or null.

      Parameters

      • alg: string

        the alg the presented JWS names

      • what: string

        what was presented ("the credential", "the KB-JWT")

      Returns any

      an Error carrying code STS-VC-0153, or null

    • The alg of a compact JWS's protected header, or '' where it cannot be read.

      Parameters

      • jws: unknown

        the compact JWS

      Returns string

      the algorithm name

    • Narrows a list of JWS algorithms to what this realm offers in OpenID4VCI and OpenID4VP: helpers.offeredJwsAlgs() (keys.postQuantumSigning), then the wallet compatibility mode.

      Parameters

      • list: string[]

        the algorithms

      Returns string[]

      the ones offered, in the same order

    • The refusal for a signature this realm was asked to MAKE with an algorithm the mode turns off, or null.

      Parameters

      • alg: string

        the algorithm

      • asker: string

        what named it: a setting's key, or a sentence

      Returns any

      an Error carrying code STS-VC-0152, or null

    • Tells whether the mode turns an algorithm off: a post-quantum or composite one, while oid4vc.walletCompatibility is on.

      Parameters

      • alg: string

        a JOSE algorithm name

      Returns boolean

      true when the algorithm may not be offered, signed or accepted

    • Tells whether the realm in force is in wallet compatibility mode.

      Returns boolean

      true when oid4vc.walletCompatibility is on