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 TypeMethodDescriptionprotected StringcalculateContentHash(SdkHttpFullRequest.Builder mutableRequest, Aws4SignerParams signerParams, SdkChecksum contentFlexibleChecksum) Deprecated.This method overloads calculateContentHash with contentFlexibleChecksum.static Aws4UnsignedPayloadSignercreate()Deprecated.sign(SdkHttpFullRequest request, Aws4SignerParams signingParams) Deprecated.sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Deprecated.Methods inherited from class software.amazon.awssdk.auth.signer.internal.BaseAws4Signer
calculateContentHashPresign, presign, presign, processRequestPayload, processRequestPayloadMethods inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
addSessionCredentials, calculateContentHash, deriveSigningKey, deriveSigningKey, doPresign, doSign, doSign, extractPresignerParams, extractSignerParamsMethods inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAwsSigner
getBinaryRequestPayloadStream, sanitizeCredentials, sign, sign, signAndBase64Encode, signWithMacMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.signer.Signer
credentialType
-
Field Details
-
UNSIGNED_PAYLOAD
Deprecated.- See Also:
-
-
Method Details
-
create
Deprecated. -
sign
Deprecated.- Specified by:
signin interfaceSigner- Overrides:
signin classBaseAws4Signer
-
sign
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>
-
software.amazon.awssdk.http.auth.aws.signer.AwsV4HttpSignerfrom the 'http-auth-aws' module.