I am writing an application using the AWS SDK for C++. I would like to enable integrity checking for S3 transfers, even transfers that require multiple requests due to the size of the file. How can I do this? The documentation for the C++ version of the AWS SDK is scanty.
I scanned the source code to the SDK and found this in AmazonWebServiceRequest:
inline virtual bool ShouldComputeContentMd5() const { return false; }
but it's not clear to me how to get the S3 classes to use an overridden version of this class.
While we're on the subject, I'd rather use the relatively new SHA256 AWS feature instead of MD5, but there seem to be even fewer hooks for that hash algorithm in the C++ SDK.
Can anyone help? Thanks.