massReencryptAsync
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
deviceId | The ID of the device for which to re-rencrypt. |
options | A MassReencryptOptions instance. |
Throws
SealdException |