Skip to main content
Table of Contents

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 = 2

The envelope did not verify — its signature is absent or wrong — under Permissive. The caller logs a warning and dispatches the envelope anyway.

RejectedStrict = 3

The 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 = 0

Integrity verification was skipped — the mode is Off or no IBusEnvelopeSigner is registered. The envelope dispatches without any signature check.

Verified = 1

The 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.