sign
suspend fun sign(roomUuid: RoomUUID, secretShare: Sr25519SecretShare, msg: ByteArray, derivationPath: Array<String>): Sr25519Signature
Signs a message using Sr25519 and multi-party computation.
This function requires threshold number of parties to participate in the signing. Unlike ECDSA, in Sr25519 there's no need to hash the message before signing.
Return
The signature of the message, which can be verified using the public key
Parameters
room Uuid
The UUID of the signing room
secret Share
The secret share to be used for signing
msg
The message to be signed as a byte array
derivation Path
The soft derivation path to use for signing the message