• Prepares credential data for signing.

    Returns

    The prepared signing data as Uint8Array.

    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