Skip to content

createGroupTMRTemporaryKey

@JvmOverloads

fun createGroupTMRTemporaryKey(groupId: String, authFactor: AuthFactor, rawOverEncryptionKey: ByteArray, isAdmin: Boolean = false): GroupTmrTemporaryKey

Create a group TMR temporary key, and returns the created GroupTmrTemporaryKey instance.

Parameters

groupIdThe Id of the group for which to create a TMR key.
authFactorAuthentication method of this user, to which SSKS has sent a challenge at the request of your app's server.
isAdminShould this TMR temporary key give the group admin status.
rawOverEncryptionKeyTMR over-encryption key. This MUST be a cryptographically random buffer of 64 bytes.