generateAssertion method

Future<Uint8List> generateAssertion({
  1. required String keyId,
  2. required Uint8List clientDataHash,
})

Creates a block of data that demonstrates the legitimacy of an instance of your app running on a device.

See the documentation in DeviceCheck's DCAppAttestService#generateAssertion.

Implementation

Future<Uint8List> generateAssertion(
    {required String keyId, required Uint8List clientDataHash}) async {
  return _hostApi.appAttestServiceGenerateAssertion(keyId, clientDataHash);
}