Prepares credential data for signing.
The prepared signing data as Uint8Array.
The Credential to prepare the data for.
Optional
An optional challenge to be included in the signing process.
Prepares credential data for signing.
Returns
The prepared signing data as Uint8Array.