AppleAttestationResult class

Result of Apple App Attestation process.

Contains the attestation key information and attestation data generated by iOS App Attestation service. This data can be used to verify the authenticity and integrity of the iOS app.

Usage

final result = await CalljmpDevice.instance.appleAttestKey(keyId, challenge);
print('Bundle ID: ${result.bundleId}');
print('Key ID: ${result.keyId}');
// Send attestation to server for verification

Constructors

AppleAttestationResult({required String keyId, required String bundleId, required String attestation})
Creates an AppleAttestationResult with the specified values.
AppleAttestationResult.fromJson(Map<String, dynamic> json)
Creates an AppleAttestationResult from a JSON map.
factory

Properties

attestation String
The attestation data as a Base64-encoded string.
final
bundleId String
The bundle identifier of the iOS application.
final
hashCode int
The hash code for this object.
no setterinherited
keyId String
The unique identifier for the attestation key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this result to a JSON map.
toString() String
Returns a string representation of this attestation result.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited