TamperDetection class
Sub-accessor for tamper detection utilities.
Useful for one-time certificate pinning setup:
final hash = await kit.tamperDetection.getSignatureHash();
print('Pin this in your config: $hash');
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
-
check(
) → Future< SecurityResult< bool> > -
getSignatureHash(
) → Future< SecurityResult< String?> > - Returns the SHA-256 hex fingerprint of the app's signing certificate.
-
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