HardwareBackend class abstract interface

The platform key module behind a hardware key. Every call may throw a HardwareKeyException.

Implementers

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

attest(String label, Uint8List challenge) → Future<HardwareAttestation>
Attests the key for label against challenge.
backing(String label) → Future<HardwareBacking>
Where the key for label lives.
create(String label, {required bool biometric}) → Future<HardwareBacking>
Creates the key for label; returns where it landed.
delete(String label) → Future<void>
Removes the key for label and its attestation key.
exists(String label) → Future<bool>
Whether a key named label exists.
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.
wrap(String label, Uint8List input) → Future<Uint8List>
Wraps input under the key for label; no user interaction.

Operators

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