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
-
@SdkPublicApi @Deprecated public final class Aws4UnsignedPayloadSigner extends BaseAws4Signer
Deprecated.Usesoftware.amazon.awssdk.http.auth.aws.signer.AwsV4HttpSignerfrom the 'http-auth-aws' module.Exactly the same asAws4Signerexcept if the request is being sent over HTTPS, then it returns the stringUNSIGNED-PAYLOADas 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
Fields Modifier and Type Field Description static StringUNSIGNED_PAYLOADDeprecated.-
Fields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected StringcalculateContentHash(SdkHttpFullRequest.Builder mutableRequest, Aws4SignerParams signerParams, SdkChecksum contentFlexibleChecksum)Deprecated.This method overloads calculateContentHash with contentFlexibleChecksum.static Aws4UnsignedPayloadSignercreate()Deprecated.SdkHttpFullRequestsign(SdkHttpFullRequest request, Aws4SignerParams signingParams)Deprecated.SdkHttpFullRequestsign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)Deprecated.-
Methods inherited from class software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
calculateContentHashPresign, presign, presign, processRequestPayload, processRequestPayload
-
Methods inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
addSessionCredentials, 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
-
-
-
-
Field Detail
-
UNSIGNED_PAYLOAD
public static final String UNSIGNED_PAYLOAD
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static Aws4UnsignedPayloadSigner create()
Deprecated.
-
sign
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
Deprecated.- Specified by:
signin interfaceSigner- Overrides:
signin classBaseAws4Signer
-
sign
public SdkHttpFullRequest sign(SdkHttpFullRequest request, Aws4SignerParams signingParams)
Deprecated.- Overrides:
signin classBaseAws4Signer
-
calculateContentHash
protected String calculateContentHash(SdkHttpFullRequest.Builder mutableRequest, Aws4SignerParams signerParams, SdkChecksum contentFlexibleChecksum)
Deprecated.Description copied from class:AbstractAws4SignerThis method overloads calculateContentHash with contentFlexibleChecksum. The contentFlexibleChecksum is computed at the same time while hash is calculated for Content.- Overrides:
calculateContentHashin classAbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
-
-