BiometricSignaturePlatform class abstract

Platform interface that defines the methods exposed to plugin implementations.

Inheritance
  • Object
  • PlatformInterface
  • BiometricSignaturePlatform

Constructors

BiometricSignaturePlatform()
Constructs a BiometricSignaturePlatform.

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

biometricAuthAvailable() → Future<BiometricAvailability>
Checks if biometric authentication is available.
biometricAuthAvailableWithStrength(BiometricStrength biometricStrength) → Future<BiometricAvailability>
Checks if biometric authentication with biometricStrength is available. Only Android distinguishes biometric classes.
createKeys(String? keyAlias, CreateKeysConfig? config, KeyFormat keyFormat, String? promptMessage) → Future<KeyCreationResult>
Creates a new key pair.
createSignature(String payload, String? keyAlias, CreateSignatureConfig? config, SignatureFormat signatureFormat, KeyFormat keyFormat, String? promptMessage) → Future<SignatureResult>
Creates a signature.
createSignatureFromBytes(Uint8List payload, String? keyAlias, CreateSignatureConfig? config, SignatureFormat signatureFormat, KeyFormat keyFormat, String? promptMessage) → Future<SignatureResult>
Creates a signature from raw bytes.
decrypt(String payload, String? keyAlias, PayloadFormat payloadFormat, DecryptConfig? config, String? promptMessage) → Future<DecryptResult>
Decrypts data.
deleteAllKeys() → Future<bool>
Deletes all biometric keys across all aliases.
deleteKeys(String? keyAlias) → Future<bool>
Deletes keys for a specific alias.
getKeyInfo(String? keyAlias, bool checkValidity, KeyFormat keyFormat) → Future<KeyInfo>
Gets detailed information about existing biometric keys.
isDeviceLockSet() → Future<bool>
Checks whether the device has a screen lock configured.
listKeyAliases() → Future<List<String?>>
Lists the aliases that have a key (null for the default alias).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simplePrompt(String promptMessage, SimplePromptConfig? config) → Future<SimplePromptResult>
Performs simple biometric authentication without cryptographic operations.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ BiometricSignaturePlatform
The default instance of BiometricSignaturePlatform to use.
getter/setter pair