Bounded SigV4/SigV4a aws-chunked payload chains and checksum trailers.
Summary
Functions
Encodes one raw-byte frame and advances the signature chain. Empty input is skipped.
Lazy fixed-size framing. Upstream chunks must themselves fit the selected chunk bound.
Signs the zero frame and optional checksum trailer, exactly once.
Content-Length is exact when encode/2 rechunks the captured source at the same configured size.
Uses the already signed request's seed; secret key material is excluded from Inspect.
Extracts only the seed signature from a previously generated Authorization header.
Signs bounded canonical trailing headers using the final zero-chunk signature.
Functions
Encodes one raw-byte frame and advances the signature chain. Empty input is skipped.
Lazy fixed-size framing. Upstream chunks must themselves fit the selected chunk bound.
Signs the zero frame and optional checksum trailer, exactly once.
Content-Length is exact when encode/2 rechunks the captured source at the same configured size.
Uses the already signed request's seed; secret key material is excluded from Inspect.
Extracts only the seed signature from a previously generated Authorization header.
Signs bounded canonical trailing headers using the final zero-chunk signature.