toScVal

open override fun toScVal(): SCValXdr

Converts the WebAuthn signature to a Soroban SCVal map.

The resulting map has keys in alphabetical order (CRITICAL for contract compatibility):

ScVal::Map([
{ Symbol("authenticator_data"), Bytes(authenticatorData) },
{ Symbol("client_data"), Bytes(clientData) },
{ Symbol("signature"), Bytes(signature) },
])

Return

SCValXdr.Map with signature components