shieldAppAttest method

  1. @override
Future<Map<String, Object?>?> shieldAppAttest(
  1. Uint8List clientDataHash, {
  2. bool forceAttest = false,
})
override

iOS: attest (first time) or assert with the App Attest key over clientDataHash. Returns {keyId, attestation|assertion, mode}.

Implementation

@override
Future<Map<String, Object?>?> shieldAppAttest(Uint8List clientDataHash, {bool forceAttest = false}) async {
  final r = await methodChannel.invokeMethod<Map<Object?, Object?>>('shieldAppAttest', {
    'clientDataHash': clientDataHash,
    'forceAttest': forceAttest,
  });
  return r?.map((k, v) => MapEntry(k.toString(), v));
}