KeepsNothing

class KeepsNothing(start: suspend (beforeKeyIsMade: suspend () -> Unit) -> DeviceKeyStore) : DeviceKeyStoreFixture

A store with no medium. Each open is a new process: a new device, holding no grants.

Parameters

start

opens a new store, passing it beforeKeyIsMade.

Constructors

Link copied to clipboard
constructor(start: suspend (beforeKeyIsMade: suspend () -> Unit) -> DeviceKeyStore)

Functions

Link copied to clipboard
open suspend override fun open(beforeKeyIsMade: suspend () -> Unit): DeviceKeyStore

Opens a store over this fixture's medium; see DeviceKeyStoreFixture for beforeKeyIsMade.