signChunkTrailer

abstract suspend fun signChunkTrailer(trailingHeaders: <Error class: unknown class>, prevSignature: ByteArray, config: AwsSigningConfig): AwsSigningResult<Unit>

Signs a chunked payload's trailer according to the supplied signing configuration

Return

The signing result, which should be appended as a trailing header itself, named x-amz-trailer-signature

Parameters

trailingHeaders

the trailing Headers to send

prevSignature

The signature of the previous componenet of the request (in most cases, this is the signature of the final chunk)

config

The signing configuration