public class ViPRS3Signer
extends com.amazonaws.services.s3.internal.S3Signer
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
httpVerb |
protected java.lang.String |
resourcePath |
protected static java.util.List<java.lang.String> |
SIGNED_PARAMETERS
The set of request parameters which must be included in the canonical
string to sign.
|
Constructor and Description |
---|
ViPRS3Signer(java.lang.String httpVerb,
java.lang.String resourcePath) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
makeS3CanonicalString(java.lang.String method,
java.lang.String resource,
com.amazonaws.Request<?> request,
java.lang.String expires)
Calculate the canonical string for a REST/HTTP request to S3.
|
void |
sign(com.amazonaws.Request<?> request,
com.amazonaws.auth.AWSCredentials credentials) |
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode
protected java.lang.String httpVerb
protected java.lang.String resourcePath
protected static final java.util.List<java.lang.String> SIGNED_PARAMETERS
public ViPRS3Signer(java.lang.String httpVerb, java.lang.String resourcePath)
public void sign(com.amazonaws.Request<?> request, com.amazonaws.auth.AWSCredentials credentials) throws com.amazonaws.AmazonClientException
sign
in interface com.amazonaws.auth.Signer
sign
in class com.amazonaws.services.s3.internal.S3Signer
com.amazonaws.AmazonClientException
protected java.lang.String makeS3CanonicalString(java.lang.String method, java.lang.String resource, com.amazonaws.Request<?> request, java.lang.String expires)