class Aws::Plugins::ChecksumAlgorithm

def self.trailer_length(algorithm, location_name)

the length of the base64 encoded checksum
The trailer size (in bytes) is the overhead + the trailer name +
def self.trailer_length(algorithm, location_name)
  CHECKSUM_SIZE[algorithm] + location_name.size
end