public final class Aws4UnsignedPayloadSigner extends BaseAws4Signer
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.
EMPTY_STRING_SHA256_HEX| Modifier and Type | Method and Description |
|---|---|
static Aws4UnsignedPayloadSigner |
create() |
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
ExecutionAttributes executionAttributes)
Method that takes in an request and returns a signed version of the request.
|
presign, presignpublic static Aws4UnsignedPayloadSigner create()
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
Signersign in interface Signersign in class BaseAws4Signerrequest - The request to signexecutionAttributes - Contains the attributes required for signing the requestpublic SdkHttpFullRequest sign(SdkHttpFullRequest request, Aws4SignerParams signingParams)
sign in class BaseAws4SignerCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.