iya-sts
    Preparing search index...
    verifyJwkProof: (spec: any) => Promise<any> = ...

    Type Declaration

      • (spec: any): Promise<any>
      • Verifies a JWK proof: a compact JWS with typ device-key-proof+jwt, the public key in its header's jwk, over { nonce, aud, iat }.

        An x5c in the header is an Android Key Attestation, verified by android(); without one the key is self-asserted.

        Parameters

        • spec: any

          token, nonce (the enrolment challenge) and audience

        Returns Promise<any>

        { ok, jwk, alg, attestation }, or a refusal