public class QueryStringSigner extends AbstractAWSSigner implements Signer
| Constructor and Description |
|---|
QueryStringSigner() |
| Modifier and Type | Method and Description |
|---|---|
void |
sign(Request<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request.
|
void |
sign(Request<?> request,
SignatureVersion version,
SigningAlgorithm algorithm,
AWSCredentials credentials)
This signer will add following authentication parameters to the request:
AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
|
hash, hash, signpublic void sign(Request<?> request, AWSCredentials credentials) throws AmazonClientException
sign in interface Signerrequest - request to be signed.credentials - The credentials used to use to sign the request.AmazonClientExceptionpublic void sign(Request<?> request, SignatureVersion version, SigningAlgorithm algorithm, AWSCredentials credentials) throws AmazonClientException
request - request to be signed.version - signature version. "2" is recommended.algorithm - signature algorithm. "HmacSHA256" is recommended.AmazonClientExceptionCopyright © 2010 Amazon Web Services, Inc. All Rights Reserved.