shieldAppAttest method
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));
}