MethodChannelFlutterBiometricCrypto class
An implementation of FlutterBiometricCryptoPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterBiometricCryptoPlatform
- MethodChannelFlutterBiometricCrypto
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
-
decrypt(
Uint8List encrypted) → Future< Uint8List> -
Decrypt data using the private key (requires biometric authentication).
override
-
deleteKey(
) → Future< void> -
Delete the key pair from secure storage.
override
-
encrypt(
Uint8List data) → Future< Uint8List> -
Encrypt data using the public key.
override
-
initKey(
) → Future< void> -
Initialize or generate the key pair if it doesn't exist.
override
-
isBiometricAvailable(
) → Future< bool> -
Check if biometric authentication is available and enrolled.
override
-
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