isHardware property

bool get isHardware

Whether the key material is protected by dedicated hardware.

Implementation

bool get isHardware =>
    this == HardwareBacking.secureEnclave ||
    this == HardwareBacking.strongBox ||
    this == HardwareBacking.trustedExecutionEnvironment;