Skip to content

convertGroupTMRTemporaryKeyAsync

@JvmOverloads

suspend fun convertGroupTMRTemporaryKeyAsync(groupId: String, temporaryKeyId: String, tmrJWT: String, rawOverEncryptionKey: ByteArray, deleteOnConvert: Boolean = false)

Convert a group TMR temporary key to become a group member.

Parameters

groupIdThe Id of the group for which to convert a TMR key.
temporaryKeyIdId of the TMR temporary key to convert.
tmrJWTTMR JWT to use.
rawOverEncryptionKeyTMR over-encryption key. This MUST be a cryptographically random buffer of 64 bytes.
deleteOnConvertWhether or not to delete the TMR temporary key after conversion.