reconstructOriginalMessage

open fun reconstructOriginalMessage(authenticatorData: Array<Byte>, clientDataJSON: Array<Byte>): Array<Byte>

Reconstructs the original message that was signed via P256 curve. Can be used for signature validation.

Return

original messages.

Parameters

authenticatorData

Authenticator Data: https://www.w3.org/TR/webauthn-2/#authenticator-data

clientDataJSON

clientDataJSON: https://www.w3.org/TR/webauthn-2/#dom-authenticatorresponse-clientdatajson