Verify a WebAuthn signature against a message and public key.
signature_payload - The message hash that was signedkey_data - Concatenated bytes: 65-byte secp256r1 public key (uncompressed format)
followed by the credential ID (variable length)sig_data - XDR-encoded WebAuthnSigData structure containing:true if the signature is validWebAuthnVerifierError::KeyDataTooShort] - When key_data is less than 65 bytes.WebAuthnVerifierError::PublicKeyExtractionFailed] - When public key extraction fails.WebAuthnVerifierError::SigDataParseError] - When XDR parsing of sig_data fails.fn verify(
env: soroban_sdk::Env,
signature_payload: soroban_sdk::Bytes,
key_data: soroban_sdk::Bytes,
sig_data: soroban_sdk::Bytes,
) -> bool