getFormattedSignature

open fun getFormattedSignature(authenticatorData: String, clientDataJson: String, derSignature: Array<Byte>): Array<Byte>

Converts the original ASN-encoded signature from webauthn to the format accepted by Barz

Return

WebAuthn ABI-encoded data.

Parameters

authenticator_data

The authenticator data in hex format.

client_data_json

The client data JSON string with a challenge.

der_signature

original ASN-encoded signature from webauthn.