Class Aws4UnsignedPayloadSigner
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.Aws4UnsignedPayloadSigner
Deprecated.
Exactly the same as
Aws4Signer except if the request is being sent
over HTTPS, then it returns the string UNSIGNED-PAYLOAD as the
content SHA-256 so services that support it can avoid needing to calculate
the value when authorizing the request.
Payloads are still signed for requests over HTTP to preserve the request integrity over a non-secure transport.
-
Field Summary
FieldsFields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX -
Method Summary
Modifier and TypeMethodDescriptionstatic Aws4UnsignedPayloadSignercreate()Deprecated.sign(SdkHttpFullRequest request, Aws4SignerParams signingParams) Deprecated.sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Deprecated.Method that takes in an request and returns a signed version of the request.Methods inherited from class software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
presign, presignMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.signer.Signer
credentialType
-
Field Details
-
UNSIGNED_PAYLOAD
-
-
Method Details
-
create
Deprecated. -
sign
Deprecated.Description copied from interface:SignerMethod that takes in an request and returns a signed version of the request.- Specified by:
signin interfaceSigner- Overrides:
signin classBaseAws4Signer- Parameters:
request- The request to signexecutionAttributes- Contains the attributes required for signing the request- Returns:
- A signed version of the input request
-
sign
Deprecated.- Overrides:
signin classBaseAws4Signer
-
software.amazon.awssdk.http.auth.aws.signer.AwsV4HttpSignerfrom the 'http-auth-aws' module.