Class AbstractAwsS3V4Signer
java.lang.Object
software.amazon.awssdk.auth.signer.internal.AbstractAwsSigner
software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer<AwsS3V4SignerParams,Aws4PresignerParams>
software.amazon.awssdk.auth.signer.internal.AbstractAwsS3V4Signer
- Direct Known Subclasses:
AwsS3V4Signer
@SdkInternalApi
public abstract class AbstractAwsS3V4Signer
extends AbstractAws4Signer<AwsS3V4SignerParams,Aws4PresignerParams>
AWS4 signer implementation for AWS S3
-
Field Summary
FieldsFields inherited from class software.amazon.awssdk.auth.signer.internal.AbstractAws4Signer
EMPTY_STRING_SHA256_HEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetChecksumTrailerLength(AwsS3V4SignerParams signerParams) presign(SdkHttpFullRequest request, Aws4PresignerParams signingParams) A method to pre sign the given #request.presign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Method that takes in an request and returns a pre signed version of the request.sign(SdkHttpFullRequest request, AwsS3V4SignerParams signingParams) A method to sign the given #request.sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Method that takes in an request and returns a signed version of the request.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.signer.Signer
credentialType
-
Field Details
-
CONTENT_SHA_256_WITH_CHECKSUM
- See Also:
-
STREAMING_UNSIGNED_PAYLOAD_TRAILER
- See Also:
-
-
Constructor Details
-
AbstractAwsS3V4Signer
public AbstractAwsS3V4Signer()
-
-
Method Details
-
sign
Description copied from interface:SignerMethod that takes in an request and returns a signed version of the request.- Parameters:
request- The request to signexecutionAttributes- Contains the attributes required for signing the request- Returns:
- A signed version of the input request
-
sign
A method to sign the given #request. The parameters required for signing are provided through the modeledAbstractAwsS3V4Signerclass.- Parameters:
request- The request to signsigningParams- Class with the parameters used for signing the request- Returns:
- A signed version of the input request
-
presign
public SdkHttpFullRequest presign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Description copied from interface:PresignerMethod that takes in an request and returns a pre signed version of the request.- Parameters:
request- The request to presignexecutionAttributes- Contains the attributes required for pre signing the request- Returns:
- A pre signed version of the input request
-
presign
A method to pre sign the given #request. The parameters required for pre signing are provided through the modeledAws4PresignerParamsclass.- Parameters:
request- The request to pre-signsigningParams- Class with the parameters used for pre signing the request- Returns:
- A pre signed version of the input request
-
getChecksumTrailerLength
-