public class AWSS3V4Signer extends AWS4Signer
doubleUrlEncode, log, overriddenDate, regionName, serviceNameEMPTY_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)
Calculate the hash of the request's payload.
|
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, setOverrideDate, setRegionName, setServiceName, shouldExcludeHeaderFromSigning, signgetBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMacpublic AWSS3V4Signer()
protected void processRequestPayload(SignableRequest<?> request, byte[] signature, byte[] signingKey, AWS4SignerRequestParams signerRequestParams)
processRequestPayload in class AWS4Signerprotected String calculateContentHashPresign(SignableRequest<?> request)
AWS4SignercalculateContentHashPresign in class AWS4Signerprotected String calculateContentHash(SignableRequest<?> request)
calculateContentHash in class AWS4SignerCopyright © 2025. All rights reserved.