AppAttestService class
A service that you use to validate the instance of your app running on a device.
See the documentation in DeviceCheck's https://developer.apple.com/documentation/devicecheck/dcappattestservice
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attestKey(
{required String keyId, required Uint8List clientDataHash}) → Future< Uint8List> - Asks Apple to attest to the validity of a generated cryptographic key.
-
generateAssertion(
{required String keyId, required Uint8List clientDataHash}) → Future< Uint8List> - Creates a block of data that demonstrates the legitimacy of an instance of your app running on a device.
-
generateKey(
) → Future< String> - Creates a new cryptographic key for use with the App Attest service.
-
isSupported(
) → Future< bool> - A Boolean that indicates whether a particular device provides the App Attest service.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AppAttestService
-
The instance of the AppAttestService to use.
no setter