WebAuthnSolidity

Functions

Link copied to clipboard
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
Link copied to clipboard
open fun getMessageHash(authenticatorData: String, clientDataJson: String): Array<Byte>
Computes WebAuthn message hash to be signed with secp256p1 private key.