CipherBirdKeyringHardware extension

Keyring slots wrapped by a HardwareKey.

on

Methods

keyringAddHardwareSlot(Pointer<Void> kr, HardwareKey key) → Future<int>

Available on CipherBird, provided by the CipherBirdKeyringHardware extension

Adds a slot the hardware key wraps; returns the slot index. The keyring must be unlocked.
keyringHardwareSlotIndex(Pointer<Void> kr, HardwareKey key) → int

Available on CipherBird, provided by the CipherBirdKeyringHardware extension

The index of the hardware slot whose key id is key's label, or -1.
keyringUnlockWithHardware(Pointer<Void> kr, HardwareKey key, {String reason = 'Unlock your keys'}) → Future<SecretBytes>

Available on CipherBird, provided by the CipherBirdKeyringHardware extension

Unlocks the slot wrapped by key; returns the master key.