Enum BusEnvelopeIntegrityResult
- Namespace
- Stratara.Abstractions.Messaging
- Assembly
- Stratara.Abstractions.dll
Outcome of Verify(IBusEnvelopeSigner?, BusEnvelopeIntegrityMode, string, string?) for a single inbound envelope. Callers translate the value into the appropriate logger call and dispatch decision.
public enum BusEnvelopeIntegrityResult
- Extension Methods
Fields
RejectedPermissive = 2The envelope did not verify — its signature is absent or wrong — under Permissive. The caller logs a warning and dispatches the envelope anyway.
RejectedStrict = 3The envelope did not verify — its signature is absent or wrong — under Strict. The caller logs an error and rejects the envelope by throwing InvalidOperationException.
Skipped = 0Integrity verification was skipped — the mode is Off or no IBusEnvelopeSigner is registered. The envelope dispatches without any signature check.
Verified = 1The signature on the envelope matched the expected value. The envelope dispatches.
Remarks
The two rejection values say that the envelope did not verify, not why. Whether the signature
was absent or present-but-wrong is reported separately as BusEnvelopeIntegrityFailure
by the overload of Verify that carries it; the dispatch decision is the same either way.