Interface RehashDecision

All Known Implementing Classes:
RehashDecision.NotRequired, RehashDecision.Required

public sealed interface RehashDecision permits RehashDecision.NotRequired, RehashDecision.Required
Whether a successfully verified credential should be transparently rehashed under the currently active policy. Sealed so the calling service can pattern-match exhaustively.

Decisions are produced by the verification pipeline after a successful verification, never on failure. A RehashDecision.Required decision does not imply that the verification failed; it only means the stored envelope is below the desired profile.