makeS3CanonicalString
public static <T> String makeS3CanonicalString(String method,
String resource,
Request<T> request,
String expires)
Calculate the canonical string for a REST/HTTP request to S3.
When expires is non-null, it will be used instead of the Date header.