Method: Aws::S3::Object#checksum_sha256

Defined in:
lib/aws-sdk-s3/object.rb

#checksum_sha256String

The Base64 encoded, 256-bit ‘SHA256` digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it’s a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity] in the *Amazon S3 User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums

Returns:

  • (String)


214
215
216
# File 'lib/aws-sdk-s3/object.rb', line 214

def checksum_sha256
  data[:checksum_sha256]
end