webauthn::WebAuthn method verify_es256_assertion (protected)
<instance of webauthn::WebAuthn> verify_es256_assertion \ [ -cose cose ] [ -sig sig ] [ -signedData signedData ]
Defined in packages/webauthn/tcl/webauthn-procs.tcl
Verify a WebAuthn assertion signature for an ES256 credential. Expects an EC2 / P-256 COSE key and verifies the signature over signedData using ECDSA with SHA-256.
- Switches:
- -cose (optional)
- Parsed COSE_Key dict.
- -sig (optional)
- Signature returned by the authenticator.
- -signedData (optional)
- Binary signed data (authenticatorData || hash(clientDataJSON)).
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)