keyRequiredReason property

String? keyRequiredReason
getter/setter pair

When set, the container's bytes arrive but do not open.

Injected at the read rather than inside a codec because that is the shape a sync cycle sees: TomKeyRequiredException is a TomStorageException precisely so a loop that cannot name the codec can still catch it, and a harness that raised it from somewhere the engine reaches only through a codec would be testing a narrower path than production has. Writes are unaffected: a locked container is one we cannot read, and the cycle must stop before the merge that needs plaintext.

Implementation

String? keyRequiredReason;