refresh
suspend fun refresh(roomUuid: RoomUUID, secretShare: Ed25519SecretShare): Pair<Ed25519PublicKey, Ed25519SecretShare>
Refreshes the Ed25519 secret share.
Used for refreshing the secret material of all parties without altering the public key. Takes a secret share as input and returns a new one with the same public key but with fresh key material.
Be careful to delete the original secret share before it is certain that all devices have properly stored the fresh secret share. Note that the new secret shares may only be used with each other; attempting to use older shares with newer ones for signing will result in failure.
Return
A pair containing the public key and refreshed secret share with the same public key
Parameters
room Uuid
The UUID of the refresh room
secret Share
The secret share that will be refreshed