attestKey method

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

Asks Apple to attest to the validity of a generated cryptographic key.

See the documentation in DeviceCheck's DCAppAttestService#attestKey.

Implementation

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