public abstract class BaseAws4Signer extends AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
EMPTY_STRING_SHA256_HEX
Constructor and Description |
---|
BaseAws4Signer() |
Modifier and Type | Method and Description |
---|---|
protected String |
calculateContentHashPresign(SdkHttpFullRequest.Builder mutableRequest,
Aws4PresignerParams signerParams)
Calculate the hash of the request's payload.
|
SdkHttpFullRequest |
presign(SdkHttpFullRequest request,
Aws4PresignerParams signingParams) |
SdkHttpFullRequest |
presign(SdkHttpFullRequest requestToSign,
ExecutionAttributes executionAttributes) |
protected void |
processRequestPayload(SdkHttpFullRequest.Builder mutableRequest,
byte[] signature,
byte[] signingKey,
Aws4SignerRequestParams signerRequestParams,
Aws4SignerParams signerParams)
Subclass could override this method to perform any additional procedure
on the request payload, with access to the result from signing the
header.
|
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
ExecutionAttributes executionAttributes) |
addSessionCredentials, calculateContentHash, deriveSigningKey, doPresign, doSign, extractPresignerParams, extractSignerParams
getBinaryRequestPayloadStream, getCanonicalizedEndpoint, getCanonicalizedQueryString, sanitizeCredentials, sign, sign, signAndBase64Encode, signWithMac
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
public SdkHttpFullRequest sign(SdkHttpFullRequest request, Aws4SignerParams signingParams)
public SdkHttpFullRequest presign(SdkHttpFullRequest requestToSign, ExecutionAttributes executionAttributes)
public SdkHttpFullRequest presign(SdkHttpFullRequest request, Aws4PresignerParams signingParams)
protected void processRequestPayload(SdkHttpFullRequest.Builder mutableRequest, byte[] signature, byte[] signingKey, Aws4SignerRequestParams signerRequestParams, Aws4SignerParams signerParams)
processRequestPayload
in class AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
protected String calculateContentHashPresign(SdkHttpFullRequest.Builder mutableRequest, Aws4PresignerParams signerParams)
calculateContentHashPresign
in class AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
Copyright © 2019. All rights reserved.