HardwareBacking enum

Where a hardware key lives, as reported by the platform key module.

Inheritance
Available extensions

Values

secureEnclave → const HardwareBacking

Apple Secure Enclave.

strongBox → const HardwareBacking

Android StrongBox, a discrete secure element.

trustedExecutionEnvironment → const HardwareBacking

Android trusted execution environment; the fallback when StrongBox is absent.

software → const HardwareBacking

A software key, used only by the iOS simulator and Android emulators without a hardware-backed keystore.

browser → const HardwareBacking

A non-extractable WebCrypto key in the browser's IndexedDB: usable by script on the origin, never readable, not a secure element.

none → const HardwareBacking

No key module on this platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isHardware → bool
Whether the key material is protected by dedicated hardware.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCode(String code) → HardwareBacking
The backing named by a platform code.

Constants

values → const List<HardwareBacking>
A constant List of the values in this enum, in order of their declaration.