• Prepares credential data for signing.

    Parameters

    • input: ICredential

      The Credential to prepare the data for.

    • Optional challenge: string

      An optional challenge to be included in the signing process.

    Returns Uint8Array

    The prepared signing data as Uint8Array.