public final class Aws4Signer extends AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>
EMPTY_STRING_SHA256_HEX
Modifier and Type | Method and Description |
---|---|
static Aws4Signer |
create() |
SdkHttpFullRequest |
presign(SdkHttpFullRequest request,
Aws4PresignerParams signingParams) |
SdkHttpFullRequest |
presign(SdkHttpFullRequest requestToSign,
ExecutionAttributes executionAttributes)
Method that takes in an request and returns a pre signed version of the request.
|
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
Aws4SignerParams signingParams) |
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
ExecutionAttributes executionAttributes)
Method that takes in an request and returns a signed version of the request.
|
hash, hash, sign, signWithMac
public static Aws4Signer create()
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
Signer
request
- The request to signexecutionAttributes
- Contains the attributes required for signing the requestpublic SdkHttpFullRequest sign(SdkHttpFullRequest request, Aws4SignerParams signingParams)
public SdkHttpFullRequest presign(SdkHttpFullRequest requestToSign, ExecutionAttributes executionAttributes)
Presigner
requestToSign
- The request to presignexecutionAttributes
- Contains the attributes required for pre signing the requestpublic SdkHttpFullRequest presign(SdkHttpFullRequest request, Aws4PresignerParams signingParams)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.