public class AWSS3V4Signer extends AWS4Signer
doubleUrlEncode, log, overriddenDate, regionName, serviceName
EMPTY_STRING_SHA256_HEX
Constructor and Description |
---|
AWSS3V4Signer()
Don't double-url-encode path elements; S3 expects path elements to be encoded only once in
the canonical URI.
|
Modifier and Type | Method and Description |
---|---|
protected String |
calculateContentHash(SignableRequest<?> request)
Returns the pre-defined header value and set other necessary headers if
the request needs to be chunk-encoded.
|
protected String |
calculateContentHashPresign(SignableRequest<?> request) |
protected void |
processRequestPayload(SignableRequest<?> request,
byte[] signature,
byte[] signingKey,
AWS4SignerRequestParams signerRequestParams)
If necessary, creates a chunk-encoding wrapper on the request payload.
|
addHostHeader, addSessionCredentials, computeSignature, createCanonicalRequest, createStringToSign, getCanonicalizedHeaderString, getOverriddenDate, getRegionName, getServiceName, getSignedHeadersString, newSigningKey, presignRequest, setEndpointPrefix, setOverrideDate, setRegionFromEndpointResolver, setRegionName, setServiceName, shouldExcludeHeaderFromSigning, sign
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMac
public AWSS3V4Signer()
protected void processRequestPayload(SignableRequest<?> request, byte[] signature, byte[] signingKey, AWS4SignerRequestParams signerRequestParams)
processRequestPayload
in class AWS4Signer
protected String calculateContentHashPresign(SignableRequest<?> request)
calculateContentHashPresign
in class AWS4Signer
protected String calculateContentHash(SignableRequest<?> request)
calculateContentHash
in class AWS4Signer
Copyright © 2023. All rights reserved.