FlutterBiometricCryptoPlatform class abstract
The interface that platform-specific implementations of flutter_biometric_crypto must extend.
- Inheritance
-
- Object
- PlatformInterface
- FlutterBiometricCryptoPlatform
- Implementers
Constructors
- FlutterBiometricCryptoPlatform()
- Constructs a FlutterBiometricCryptoPlatform.
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).
-
deleteKey(
) → Future< void> - Delete the key pair from secure storage.
-
encrypt(
Uint8List data) → Future< Uint8List> - Encrypt data using the public key.
-
initKey(
) → Future< void> - Initialize or generate the key pair if it doesn't exist.
-
isBiometricAvailable(
) → Future< bool> - Check if biometric authentication is available and enrolled.
-
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 ↔ FlutterBiometricCryptoPlatform
-
The default instance of FlutterBiometricCryptoPlatform to use.
getter/setter pair