public class AWS4Signer extends AbstractAWSSigner
| Constructor and Description |
|---|
AWS4Signer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setRegionName(String regionName)
Sets the region name that this signer should use when calculating request
signatures.
|
void |
setServiceName(String serviceName)
Sets the service name that this signer should use when calculating
request signatures.
|
void |
sign(Request<?> request,
AWSCredentials credentials) |
hash, hash, signpublic void sign(Request<?> request, AWSCredentials credentials) throws AmazonClientException
AmazonClientExceptionpublic void setServiceName(String serviceName)
serviceName - The service name to use when calculating signatures in this
signer.public void setRegionName(String regionName)
regionName - The region name to use when calculating signatures in this
signer.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.