SealdSdk_DevicesMissingKeys method

int SealdSdk_DevicesMissingKeys(
  1. Pointer<NativeSealdSdk> sealdSdk,
  2. int forceLocalAccountUpdate,
  3. Pointer<Pointer<NativeSealdDeviceMissingKeysArray>> result,
  4. Pointer<Pointer<NativeSealdError>> error,
)

List which of the devices of the current account are missing keys, so you can call SealdSdk_MassReencrypt for them.

@param sealdSdk The SealdSdk instance. @param forceLocalAccountUpdate Whether to update the local account. 1 to update, 0 to not update. @param result A pointer to a SealdDeviceMissingKeysArray*, in which to write the result. @param error A pointer to a SealdError* where details will be stored in case of error. @return Error code: -1 if an error happened, 0 for success.

Implementation

int SealdSdk_DevicesMissingKeys(
  ffi.Pointer<NativeSealdSdk> sealdSdk,
  int forceLocalAccountUpdate,
  ffi.Pointer<ffi.Pointer<NativeSealdDeviceMissingKeysArray>> result,
  ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
  return _SealdSdk_DevicesMissingKeys(
    sealdSdk,
    forceLocalAccountUpdate,
    result,
    error,
  );
}