public class AWS3Signer extends AbstractAWSSigner
EMPTY_STRING_SHA256_HEX
Constructor and Description |
---|
AWS3Signer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given.
|
protected String |
getCanonicalizedHeadersForStringToSign(Request<?> request) |
protected List<String> |
getHeadersForStringToSign(Request<?> request) |
void |
sign(Request<?> request,
AWSCredentials credentials)
Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request.
|
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode
public void sign(Request<?> request, AWSCredentials credentials)
request
- The request to sign.credentials
- The credentials to sign the request with.protected String getCanonicalizedHeadersForStringToSign(Request<?> request)
protected void addSessionCredentials(Request<?> request, AWSSessionCredentials credentials)
AbstractAWSSigner
addSessionCredentials
in class AbstractAWSSigner
request
- The request to add session credentials information tocredentials
- The session credentials to add to the requestCopyright © 2019. All rights reserved.