public abstract class BaseAsyncAws4Signer extends BaseAws4Signer implements AsyncRequestBodySigner
EMPTY_STRING_SHA256_HEX
Modifier | Constructor and Description |
---|---|
protected |
BaseAsyncAws4Signer() |
Modifier and Type | Method and Description |
---|---|
protected AsyncRequestBody |
signAsync(SdkHttpFullRequest request,
AsyncRequestBody asyncRequestBody,
Aws4SignerRequestParams requestParams,
Aws4SignerParams signingParams)
This method is only used in test, where clockOverride is passed in signingParams
|
AsyncRequestBody |
signAsyncRequestBody(SdkHttpFullRequest request,
AsyncRequestBody asyncRequestBody,
ExecutionAttributes executionAttributes) |
protected abstract AsyncRequestBody |
transformRequestProvider(String headerSignature,
byte[] signingKey,
Aws4SignerRequestParams signerRequestParams,
Aws4SignerParams signerParams,
AsyncRequestBody asyncRequestBody)
Transform the original requestProvider by adding signing operator and returns a new requestProvider
Can be overriden by subclasses to provide specific signing method
|
calculateContentHashPresign, presign, presign, processRequestPayload, sign, sign
addSessionCredentials, calculateContentHash, deriveSigningKey, doPresign, doSign, extractPresignerParams, extractSignerParams
getBinaryRequestPayloadStream, getCanonicalizedEndpoint, getCanonicalizedQueryString, sanitizeCredentials, sign, sign, signAndBase64Encode, signWithMac
public AsyncRequestBody signAsyncRequestBody(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, ExecutionAttributes executionAttributes)
signAsyncRequestBody
in interface AsyncRequestBodySigner
protected final AsyncRequestBody signAsync(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, Aws4SignerRequestParams requestParams, Aws4SignerParams signingParams)
protected abstract AsyncRequestBody transformRequestProvider(String headerSignature, byte[] signingKey, Aws4SignerRequestParams signerRequestParams, Aws4SignerParams signerParams, AsyncRequestBody asyncRequestBody)
Copyright © 2019. All rights reserved.