getMessageHash

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

Computes WebAuthn message hash to be signed with secp256p1 private key.

Return

WebAuthn message hash.

Parameters

authenticator_data

The authenticator data in hex format.

client_data_json

The client data JSON string with a challenge.