Package | Description |
---|---|
software.amazon.awssdk.auth.signer | |
software.amazon.awssdk.auth.signer.internal | |
software.amazon.awssdk.auth.signer.params |
Modifier and Type | Method and Description |
---|---|
protected String |
Aws4UnsignedPayloadSigner.calculateContentHash(SdkHttpFullRequest.Builder mutableRequest,
Aws4SignerParams signerParams) |
SdkHttpFullRequest |
Aws4UnsignedPayloadSigner.sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAws4Signer<T extends Aws4SignerParams,U extends Aws4PresignerParams>
Abstract base class for the AWS SigV4 signer implementations.
|
Modifier and Type | Method and Description |
---|---|
protected String |
BaseEventStreamAsyncAws4Signer.calculateContentHash(SdkHttpFullRequest.Builder mutableRequest,
Aws4SignerParams signerParams)
Returns the pre-defined header value and set other necessary headers if
the request needs to be chunk-encoded.
|
protected void |
BaseAws4Signer.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 |
BaseAws4Signer.sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
SdkHttpFullRequest |
BaseEventStreamAsyncAws4Signer.sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
protected AsyncRequestBody |
BaseAsyncAws4Signer.signAsync(SdkHttpFullRequest request,
AsyncRequestBody asyncRequestBody,
Aws4SignerRequestParams requestParams,
Aws4SignerParams signingParams)
This method is only used in test, where clockOverride is passed in signingParams
|
protected abstract AsyncRequestBody |
BaseAsyncAws4Signer.transformRequestProvider(String headerSignature,
byte[] signingKey,
Aws4SignerRequestParams signerRequestParams,
Aws4SignerParams signerParams,
AsyncRequestBody asyncRequestBody)
Transform the original requestProvider by adding signing operator and returns a new requestProvider
Can be overriden by subclasses to provide specific signing method
|
protected AsyncRequestBody |
BaseEventStreamAsyncAws4Signer.transformRequestProvider(String headerSignature,
byte[] signingKey,
Aws4SignerRequestParams signerRequestParams,
Aws4SignerParams signerParams,
AsyncRequestBody asyncRequestBody) |
Constructor and Description |
---|
Aws4SignerRequestParams(Aws4SignerParams signerParams)
Generates an instance of AWS4signerRequestParams that holds the
parameters used for computing a AWS 4 signature for a request based on
the given
Aws4SignerParams for that request. |
Modifier and Type | Class and Description |
---|---|
class |
Aws4PresignerParams |
class |
AwsS3V4SignerParams |
Modifier and Type | Method and Description |
---|---|
Aws4SignerParams |
Aws4SignerParams.Builder.build() |
Aws4SignerParams |
Aws4SignerParams.BuilderImpl.build() |
Copyright © 2019. All rights reserved.