Skip to content

massReencryptAsync

@JvmOverloads

suspend fun massReencryptAsync(deviceId: String, options: MassReencryptOptions = MassReencryptOptions()): MassReencryptResponse

Retrieve, re-encrypt, and add missing keys for a certain device.

Return

A MassReencryptResponse instance, containing the number of re-encrypted keys, and the number of keys for which re-encryption failed.

Parameters

deviceIdThe ID of the device for which to re-rencrypt.
optionsA MassReencryptOptions instance.

Throws

SealdException