UnsupportedBackend class final

The backend on platforms without a key module: every call throws unsupported, nothing falls back to a software key.

Implemented types

Constructors

UnsupportedBackend(String platform)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
platform → String
The platform name for the error message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attest(String label, Uint8List challenge) → Future<HardwareAttestation>
Attests the key for label against challenge.
override
backing(String label) → Future<HardwareBacking>
Where the key for label lives.
override
create(String label, {required bool biometric}) → Future<HardwareBacking>
Creates the key for label; returns where it landed.
override
delete(String label) → Future<void>
Removes the key for label and its attestation key.
override
exists(String label) → Future<bool>
Whether a key named label exists.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
unwrap(String label, Uint8List blob, {required String reason}) → Future<Uint8List>
Unwraps blob with the key for label; a biometric-gated key shows the system prompt with reason.
override
wrap(String label, Uint8List input) → Future<Uint8List>
Wraps input under the key for label; no user interaction.
override

Operators

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