get Formatted Signature
open fun getFormattedSignature(signature: Array<Byte>, challenge: Array<Byte>, authenticatorData: Array<Byte>, clientDataJson: String): Array<Byte>
Converts the original ASN-encoded signature from webauthn to the format accepted by Barz
Return
Bytes of the formatted signature
Parameters
signature
Original signature
challenge
The original challenge that was signed
authenticator_data
Returned from Webauthn API
client_data_json
Returned from Webauthn API