webAuthn

fun webAuthn(verifierAddress: String, publicKey: ByteArray, credentialId: ByteArray): ExternalSigner

Creates a WebAuthn external signer with secp256r1 signature verification.

WebAuthn signers use an uncompressed secp256r1 public key (65 bytes starting with 0x04) combined with a WebAuthn credential ID for authentication.

Return

An external signer configured for WebAuthn verification

Parameters

verifierAddress

The contract address of the WebAuthn verifier (C-address)

publicKey

The uncompressed secp256r1 public key (65 bytes, starting with 0x04)

credentialId

The WebAuthn credential identifier

Throws

if validation fails