Class AsyncAws4Signer
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.AsyncAws4Signer
- All Implemented Interfaces:
AsyncSigner
,Presigner
,Signer
AWS Signature Version 4 signer that can include contents of an asynchronous request body into the signature
calculation.
-
Field Summary
Fields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncAws4Signer
create()
sign
(SdkHttpFullRequest request, AsyncRequestBody requestBody, ExecutionAttributes executionAttributes) Sign the request, including the contents of the body into the signature calculation.signWithBody
(SdkHttpFullRequest request, AsyncRequestBody requestBody, Aws4SignerParams signingParams) Methods inherited from class software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
presign, presign, sign, sign
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.signer.Signer
credentialType
-
Constructor Details
-
AsyncAws4Signer
public AsyncAws4Signer()
-
-
Method Details
-
sign
public CompletableFuture<SdkHttpFullRequest> sign(SdkHttpFullRequest request, AsyncRequestBody requestBody, ExecutionAttributes executionAttributes) Description copied from interface:AsyncSigner
Sign the request, including the contents of the body into the signature calculation.- Specified by:
sign
in interfaceAsyncSigner
- Parameters:
request
- The HTTP request.requestBody
- The body of the request.executionAttributes
- The execution attributes that contains information information used to sign the request.- Returns:
- A future containing the signed request.
-
signWithBody
public CompletableFuture<SdkHttpFullRequest> signWithBody(SdkHttpFullRequest request, AsyncRequestBody requestBody, Aws4SignerParams signingParams) -
create
-