• Sign a message.

    Possible errors are added to the report, no exceptions should be thrown.

    Parameters

    • report: Errors
    • message: string
    • privateKey: CryptoKey

    Returns Promise<string | null>

    • either the signature in Multicode format, or null in case of an error.