FakeKeyOperation

sealed interface FakeKeyOperation

The operation a FakeKeyScheme is about to run, as its before hook sees it. The arrays are the caller's own, not copies: read them, do not change them.

Inheritors

Types

Link copied to clipboard

FakeKeyScheme.generate: a store making its first key, or a test making one.

Link copied to clipboard
Link copied to clipboard
class Sign(val key: DidKey, val message: ByteArray) : FakeKeyOperation

A fake key key signing message.

Link copied to clipboard
class Verify(val key: DidKey, val message: ByteArray, val signature: ByteArray) : FakeKeyOperation