signWith

suspend fun signWith(did: DID, message: ByteArray): Signature(source)

This function will use the provided DID to sign a given message.

Return

The signature of the message.

Parameters

did

The DID which will be used to sign the message.

message

The message to be signed.