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
labelagainstchallenge. -
backing(
String label) → Future< HardwareBacking> -
Where the key for
labellives. -
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
labeland its attestation key. -
exists(
String label) → Future< bool> -
Whether a key named
labelexists. -
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
blobwith the key forlabel; a biometric-gated key shows the system prompt withreason. -
wrap(
String label, Uint8List input) → Future< Uint8List> -
Wraps
inputunder the key forlabel; no user interaction.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited