signChunk

abstract suspend fun signChunk(chunkBody: ByteArray, prevSignature: ByteArray, config: AwsSigningConfig): AwsSigningResult<Unit>

Signs a body chunk according to the supplied signing configuration

Return

The signing result, which provides access to all signing-related result properties

Parameters

chunkBody

The chunk payload to sign

prevSignature

The signature of the previous component of the request (either the initial request itself for the first chunk or the previous chunk otherwise)

config

The signing configuration