BiometricCryptoPlatform class abstract
Platform interface for biometric cryptographic operations.
This abstract class defines the contract that platform implementations (Android and iOS) must follow.
- Inheritance
-
- Object
- PlatformInterface
- BiometricCryptoPlatform
- Implementers
Constructors
- BiometricCryptoPlatform()
- Constructor for the platform interface.
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
-
authenticate(
) → Future< bool> - Prompts for biometric authentication.
-
deleteKey(
String alias) → Future< void> - Deletes a key from secure storage.
-
generateKey(
String alias) → Future< void> - Generates a new cryptographic key pair with biometric protection.
-
getPlatformVersion(
) → Future< String?> - Retrieves platform version information.
-
getPublicKey(
String alias) → Future< String> - Retrieves the public key in PEM format.
-
isBiometricAvailable(
) → Future< bool> - Checks if biometric authentication is available.
-
keyExists(
String alias) → Future< bool> - Checks if a key exists in secure storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
String alias, String challenge) → Future< String> - Signs a challenge with biometric verification.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BiometricCryptoPlatform
-
getter/setter pair