Class BaseAsyncAws4Signer
- java.lang.Object
-
- software.amazon.awssdk.auth.signer.internal.AbstractAwsSigner
-
- software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
-
- software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
-
- software.amazon.awssdk.auth.signer.internal.BaseAsyncAws4Signer
-
- All Implemented Interfaces:
AsyncRequestBodySigner
,Presigner
,Signer
- Direct Known Subclasses:
BaseEventStreamAsyncAws4Signer
public abstract class BaseAsyncAws4Signer extends BaseAws4Signer implements AsyncRequestBodySigner
-
-
Field Summary
-
Fields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseAsyncAws4Signer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected AsyncRequestBody
signAsync(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, Aws4SignerRequestParams requestParams, Aws4SignerParams signingParams)
This method is only used in test, where clockOverride is passed in signingParamsAsyncRequestBody
signAsyncRequestBody(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, ExecutionAttributes executionAttributes)
protected abstract AsyncRequestBody
transformRequestProvider(String headerSignature, 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-
Methods inherited from class software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
calculateContentHashPresign, presign, presign, processRequestPayload, processRequestPayload, sign, sign
-
Methods inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
addSessionCredentials, calculateContentHash, calculateContentHash, deriveSigningKey, deriveSigningKey, doPresign, doSign, doSign, extractPresignerParams, extractSignerParams
-
Methods inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAwsSigner
getBinaryRequestPayloadStream, sanitizeCredentials, sign, sign, signAndBase64Encode, signWithMac
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.signer.Signer
credentialType
-
-
-
-
Method Detail
-
signAsyncRequestBody
public AsyncRequestBody signAsyncRequestBody(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, ExecutionAttributes executionAttributes)
- Specified by:
signAsyncRequestBody
in interfaceAsyncRequestBodySigner
-
signAsync
protected final AsyncRequestBody signAsync(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, Aws4SignerRequestParams requestParams, Aws4SignerParams signingParams)
This method is only used in test, where clockOverride is passed in signingParams
-
transformRequestProvider
protected abstract AsyncRequestBody transformRequestProvider(String headerSignature, 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
-
-