fn parse_webauthn_assertion(json: &Value) -> Result<PrimitiveSignature>Expand description
Parses a browser WebAuthn assertion: authenticatorData, clientDataJSON and signature
(an AuthenticatorAssertionResponse, at the top level or under response as
PublicKeyCredential.toJSON() writes it), plus the credential’s P-256 publicKey. Binary
fields are base64url or 0x-prefixed hex; the signature is DER or raw r || s.