MethodChannelAppAttestIntegrity class
Implementation of AppAttestIntegrityPlatform that uses method channels. Is listened on iOS and Android.
- Inheritance
-
- Object
- PlatformInterface
- AppAttestIntegrityPlatform
- MethodChannelAppAttestIntegrity
Constructors
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
-
androidPrepareIntegrityServer(
int cloudProjectNumber) → Future< void> -
Android only
Warm up the integrity API server.override -
iOSgenerateAttestation(
String challenge) → Future< GenerateAttestationResponse?> -
iOS only
Creates a key pair and verifies it using thechallenge
, which creates an attestation. Returns the corresponding attestation and keyID to be sent to the server.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
{required String clientData, String? iOSkeyID, int? androidCloudProjectNumber}) → Future< String> -
Use this method to sign your data in a way that can prove the integrity
of the app on the server side.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited