}
}
// Get the S3 object's Base64 hash.
String objectHash = null;
if (s3Object.containsMetadata(S3Object.METADATA_HEADER_ORIGINAL_HASH_MD5)) {
// Use the object's *original* hash, as it is an encoded version of a local file.
objectHash = (String) s3Object.getMetadata(
S3Object.METADATA_HEADER_ORIGINAL_HASH_MD5);
if (log.isDebugEnabled()) {
log.debug("Object in S3 is encoded, using the object's original hash value for: "