Skip to content

renewGroupKeyAsync

suspend fun renewGroupKeyAsync(groupId: String, privateKeys: PreGeneratedKeys? = null)

Renew the group's private key. Can only be done by a group administrator. Should be called after removing members from the group.

Parameters

groupIdThe group for which to renew the private key.
privateKeysOptional. Pre-generated private keys, returned by a call to generatePrivateKeys or generatePrivateKeysAsync.

Throws

SealdException