Class BaseAws4Signer
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
- Direct Known Subclasses:
AsyncAws4Signer
,Aws4Signer
,Aws4UnsignedPayloadSigner
,BaseAsyncAws4Signer
public abstract class BaseAws4Signer
extends AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
Abstract base class for concrete implementations of Aws4 signers.
-
Field Summary
Fields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpresign
(SdkHttpFullRequest request, Aws4PresignerParams signingParams) presign
(SdkHttpFullRequest requestToSign, ExecutionAttributes executionAttributes) Method that takes in an request and returns a pre signed version of the request.sign
(SdkHttpFullRequest request, Aws4SignerParams signingParams) sign
(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Method that takes in an request and returns a signed version of the request.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
-
BaseAws4Signer
public BaseAws4Signer()
-
-
Method Details
-
sign
Description copied from interface:Signer
Method that takes in an request and returns a signed version of the request.- Parameters:
request
- The request to signexecutionAttributes
- Contains the attributes required for signing the request- Returns:
- A signed version of the input request
-
sign
-
presign
public SdkHttpFullRequest presign(SdkHttpFullRequest requestToSign, ExecutionAttributes executionAttributes) Description copied from interface:Presigner
Method that takes in an request and returns a pre signed version of the request.- Parameters:
requestToSign
- The request to presignexecutionAttributes
- Contains the attributes required for pre signing the request- Returns:
- A pre signed version of the input request
-
presign
-